NXP Semiconductors LPC13Uxx 2024.06.02 LPC1315/16/17/35/36/37 Cortex-M3 MCU; up to 64 kB flash; up to 12 kB SRAM; USB device; USART; EEPROM CM3 r2p1 little 3 false 8 32 ADC ADC ADC 0x0 0x0 0xFFF registers n ADC 24 CR A/D Control Register. The CR register must be written to select the operating mode before A/D conversion can occur. 0x0 read-write n 0x0 0x0 BURST Burst mode If BURST is set to 1, the ADGINTEN bit in the INTEN register (Table 327) must be set to 0. 16 17 ENUM SOFTWARE_CONTROLLED_ Software-controlled mode: Conversions are software-controlled and require 31 clocks. 0 HARDWARE_SCAN_MODE_ Hardware scan mode: The AD converter does repeated conversions at the rate selected by the CLKS field, scanning (if necessary) through the pins selected by ones in the SEL field. The first conversion after the start corresponds to the least-significant bit set to 1 in the SEL field, then the next higher bits (pins) set to one are scanned if applicable. Repeated conversions can be terminated by clearing this bit, but the conversion in progress when this bit is cleared will be completed. Important: START bits must be 000 when BURST = 1, or conversions will not start. 1 CLKDIV The main clock (PCLK_ADC) is divided by (this value plus one) to produce the clock for the A/D converter. The clock should be less than or equal to 15.5 MHz(12-bit mode) or 31 MHz (10-bit mode) in software-controlled mode (BURST bit = 0).. Typically, software should program the smallest value in this field that yields a clock of 15.5 MHz or slightly less, but in certain cases (such as a high-impedance analog source) a slower clock may be desirable. 8 16 EDGE Edge control. This bit is significant only when the START field contains 010-111. 27 28 ENUM RISING Start conversion on a rising edge on the selected CAP/MAT signal. 0 FALLING Start conversion on a falling edge on the selected CAP/MAT signal. 1 LPWRMODE Low-power mode 22 23 ENUM DISABLE_THE_LOW_POWE Disable the low-power ADC mode. The analog circuitry remains activated when no conversions are requested. 0 ENABLE_THE_LOW_POWER Enable the low-power ADC mode. The analog circuitry is automatically powered-down when no conversions are taking place. When any (hardware or software) triggering event is detected, the analog circuitry is enabled. After the required start-up time, the requested conversion will be launched. Once the conversion completes, the analog-circuitry will again be powered-down provided no further conversions are pending. This mode will NOT power-up the A/D if the ADC is powered down (ADC_PD bit in the PDRUNCFG register is HIGH) or if the part is in Deep-sleep, Power-down, or Deep power-down mode. 1 MODE10BIT 10-bit conversion rate mode 23 24 ENUM DISABLE_THE_10_BIT_C Disable the 10-bit conversion rate mode. 0 ENABLE_THE_10_BIT_CO Enable the 10-bit conversion rate mode with high conversion rate.The A/D resolution is reduced to 10 bits (the two LSB of the conversion result will be forced to 0). The clock rate (set via the CLKDIV field) can be doubled to up to 31 MHz to achieve a conversion rate of up to one million samples per second. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 28 32 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 21 22 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 28 32 SEL Selects which of the AD7:0 pins is (are) to be sampled and converted. Bit 0 selects Pin AD0, bit 1 selects pin AD1,..., and bit 7 selects pin AD7. In software-controlled mode (BURST = 0), only one channel can be selected, i.e. only one of these bits should be 1. In hardware scan mode (BURST = 1), any numbers of channels can be selected, i.e any or all bits can be set to 1. If all bits are set to 0, channel 0 is selected automatically (SEL = 0x01). 0 8 START When the BURST bit is 0, these bits control whether and when an A/D conversion is started: 24 27 ENUM NO_START_THIS_VALUE No start (this value should be used when clearing PDN to 0). 0x0 START_CONVERSION_NOW Start conversion now. 0x1 PIO0_2 Start conversion when the edge selected by bit 27 occurs on PIO0_2/SSEL/CT16B0_CAP0. 0x2 PIO1_5 Start conversion when the edge selected by bit 27 occurs on PIO1_5/DIR/CT32B0_CAP0. 0x3 CT32B0_MAT0 Start conversion when the edge selected by bit 27 occurs on CT32B0_MAT0[1]. 0x4 CT32B0_MAT1 Start conversion when the edge selected by bit 27 occurs on CT32B0_MAT1[1]. 0x5 CT16B0_MAT0 Start conversion when the edge selected by bit 27 occurs on CT16B0_MAT0[1]. 0x6 CT16B0_MAT1 Start conversion when the edge selected by bit 27 occurs on CT16B0_MAT1[1]. 0x7 DR0 DR0 A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0x10 -1 read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 DR1 DR1 A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0x14 -1 read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 DR2 DR2 A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0x18 -1 read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 DR3 DR3 A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0x1C -1 read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 DR4 DR4 A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0x20 -1 read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 DR5 DR5 A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0x24 -1 read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 DR6 DR6 A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0x28 -1 read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 DR7 DR7 A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0x2C -1 read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 DR[0] DR[%s] A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0x20 read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 DR[1] DR[%s] A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0x34 read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 DR[2] DR[%s] A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0x4C read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 DR[3] DR[%s] A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0x68 read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 DR[4] DR[%s] A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0x88 read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 DR[5] DR[%s] A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0xAC read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 DR[6] DR[%s] A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0xD4 read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 DR[7] DR[%s] A/D Channel N Data Register. This register contains the result of the most recent conversion completed on channel n 0x100 read-write n 0x0 0x0 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. 30 31 RESERVED Reserved. 0 4 RESERVED Reserved. 16 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREFN/VSS, while 0xFFF indicates that the voltage on AD input was close to, equal to, or greater than that on VREFP/VDD. 4 16 GDR A/D Global Data Register. Contains the result of the most recent A/D conversion. 0x4 read-write n 0x0 0x0 CHN These bits contain the channel from which the result bits V_VREF were converted. 24 27 DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read and when the ADCR is written. If the ADCR is written while a conversion is still in progress, this bit is set and a new conversion is started. 31 32 OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits. 30 31 RESERVED Reserved. These bits always read as zeros. 27 30 RESERVED Reserved. These bits always read as zeros. 16 24 RESERVED Reserved. These bits always read as zeros. 27 30 V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin selected by the SEL field, divided by the voltage on the VDD pin or as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VSS/VREFN, while 0xFFF indicates that the voltage on ADn was close to, equal to, or greater than that on VDD/VREFP. 4 16 INTEN A/D Interrupt Enable Register. This register contains enable bits that allow the DONE flag of each A/D channel to be included or excluded from contributing to the generation of an A/D interrupt. 0xC read-write n 0x0 0x0 ADGINTEN When 1, enables the global DONE flag in ADDR to generate an interrupt. When 0, only the individual A/D channels enabled by ADINTEN 7:0 will generate interrupts. This bit must be set to 0 in burst mode (BURST = 1 in the CR register). 8 9 ADINTEN These bits allow control over which A/D channels generate interrupts for conversion completion. When bit 0 is one, completion of a conversion on A/D channel 0 will generate an interrupt, when bit 1 is one, completion of a conversion on A/D channel 1 will generate an interrupt, etc. 0 8 RESERVED Reserved. Unused, always 0. 9 32 STAT A/D Status Register. This register contains DONE and OVERRUN flags for all of the A/D channels, as well as the A/D interrupt flag. 0x30 read-only n 0x0 0x0 ADINT This bit is the A/D interrupt flag. It is one when any of the individual A/D channel Done flags is asserted and enabled to contribute to the A/D interrupt via the ADINTEN register. 16 17 DONE These bits mirror the DONE status flags that appear in the result register for each A/D channel n. 0 8 OVERRUN These bits mirror the OVERRRUN status flags that appear in the result register for each A/D channel n. Reading ADSTAT allows checking the status of all A/D channels simultaneously. 8 16 RESERVED Reserved. Unused, always 0. 17 32 TRM A/D trim register 0x34 read-write n 0x0 0x0 ADCOFFS Offset trim bits for ADC operation. Initialized by the boot code. Can be overwritten by the user. 4 8 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 12 32 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 12 32 TRIM Written-to by boot code. Can not be overwritten by the user. These bits are locked after boot code write. 8 12 CT16B0 16-bit counter/timers CT16B0 CT16B0 0x0 0x0 0xFFF registers n CT16B0 16 CCR Capture Control Register. The CCR controls which edges of the capture inputs are used to load the Capture Registers and whether or not an interrupt is generated when a capture takes place. 0x28 read-write n 0x0 0x0 CAP0FE Capture on CT16B0_CAP0 falling edge: a sequence of 1 then 0 on CT16B0_CAP0 will cause CR0 to be loaded with the contents of TC. 1 2 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP0I Interrupt on CT16B0_CAP0 event: a CR0 load due to a CT16B0_CAP0 event will generate an interrupt. 2 3 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP0RE Capture on CT16B0_CAP0 rising edge: a sequence of 0 then 1 on CT16B0_CAP0 will cause CR0 to be loaded with the contents of TC. 0 1 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP1FE Capture on CT16B0_CAP1 falling edge: a sequence of 1 then 0 on CT16B0_CAP1 will cause CR1 to be loaded with the contents of TC. This bit is reserved for 16-bit timer1 CT16B1. 7 8 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP1I Interrupt on CT16B0_CAP1 event: a CR1 load due to a CT16B0_CAP1 event will generate an interrupt. This bit is reserved for 16-bit timer1 CT16B1. 8 9 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP1RE Capture on CT16B0_CAP1 rising edge: a sequence of 0 then 1 on CT16B0_CAP1 will cause CR1 to be loaded with the contents of TC. This bit is reserved for 16-bit timer1 CT16B1. 6 7 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 9 32 RESERVED Reserved. 4 5 RESERVED Reserved. 5 6 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 9 32 CR0 Capture Register 0. CR0 is loaded with the value of TC when there is an event on the CT16B0_CAP0 input. 0x2C read-only n 0x0 0x0 CAP Timer counter capture value. 0 16 RESERVED Reserved. 16 32 CR1 Capture Register 1. CR1 is loaded with the value of TC when there is an event on the CT16B0_CAP1 input. 0x34 read-only n 0x0 0x0 CAP Timer counter capture value. 0 16 RESERVED Reserved. 16 32 CTCR Count Control Register. The CTCR selects between Timer and Counter mode, and in Counter mode selects the signal and edge(s) for counting. 0x70 read-write n 0x0 0x0 CIS Count Input Select. In counter mode (when bits 1:0 in this register are not 00), these bits select which CAP pin or comparator output is sampled for clocking. Values 0x1 and 0x3 are reserved. 2 4 ENUM CT16B0_CAP0_ CT16B0_CAP0. 0x0 RESERVED_ Reserved. 0x1 CT16B0_CAP1_ CT16B0_CAP1. 0x2 CTM Counter/Timer Mode. This field selects which rising PCLK edges can increment Timer's Prescale Counter (PC), or clear PC and increment Timer Counter (TC). If Counter mode is selected in the CTCR, bits 2:0 in the Capture Control Register (CCR) must be programmed as 000. 0 2 ENUM TIMER_MODE_EVERY_RI Timer Mode: every rising PCLK edge 0x0 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2. 0x3 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2. 0x3 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2. 0x3 ENCC Setting this bit to 1 enables clearing of the timer and the prescaler when the capture-edge event specified in bits 7:5 occurs. 4 5 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 8 32 SELCC Edge select. When bit 4 is 1, these bits select which capture input edge will cause the timer and prescaler to be cleared. These bits have no effect when bit 4 is low. Values 0x2 to 0x3 and 0x6 to 0x7 are reserved. 5 8 ENUM RESERVED_ Reserved. 0x3 RESERVED_ Reserved. 0x3 RISING_EDGE_OF_CT16B Rising Edge of CT16B0_CAP1 clears the timer (if bit 4 is set). 0x4 RISING_EDGE_OF_CT16B Rising Edge of CT16B0_CAP1 clears the timer (if bit 4 is set). 0x4 FALLING_EDGE_OF_CT16 Falling Edge of CT16B0_CAP1 clears the timer (if bit 4 is set). 0x5 FALLING_EDGE_OF_CT16 Falling Edge of CT16B0_CAP1 clears the timer (if bit 4 is set). 0x5 EMR External Match Register. The EMR controls the match function and the external match pins CT16B0_MAT[1:0] and CT16B1_MAT[1:0]. 0x3C read-write n 0x0 0x0 EM0 External Match 0. This bit reflects the state of output CT16B0_MAT0/CT16B1_MAT0, whether or not this output is connected to its pin. When a match occurs between the TC and MR0, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[5:4] control the functionality of this output. This bit is driven to the CT16B0_MAT0/CT16B1_MAT0 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). 0 1 EM1 External Match 1. This bit reflects the state of output CT16B0_MAT1/CT16B1_MAT1, whether or not this output is connected to its pin. When a match occurs between the TC and MR1, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[7:6] control the functionality of this output. This bit is driven to the CT16B0_MAT0/CT16B1_MAT0 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). 1 2 EM2 External Match 2. This bit reflects the state of match channel 2. When a match occurs between the TC and MR2, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[9:8] control the functionality of this output. 2 3 EM3 External Match 3. This bit reflects the state of output of match channel 3. When a match occurs between the TC and MR3, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[11:10] control the functionality of this output. 3 4 EMC0 External Match Control 0. Determines the functionality of External Match 0. Table 296 shows the encoding of these bits. 4 6 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT16Bn_MAT0 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT16Bn_MAT0 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC1 External Match Control 1. Determines the functionality of External Match 1. 6 8 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT16Bn_MAT1 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT16Bn_MAT1 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC2 External Match Control 2. Determines the functionality of External Match 2. 8 10 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT16Bn_MAT2 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT16Bn_MAT2 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC3 External Match Control 3. Determines the functionality of External Match 3. 10 12 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT16Bn_MAT3 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT16Bn_MAT3 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 12 32 IR Interrupt Register. The IR can be written to clear interrupts. The IR can be read to identify which of eight possible interrupt sources are pending. 0x0 read-write n 0x0 0x0 CR0INT Interrupt flag for capture channel 0 event. 4 5 CR1INT Interrupt flag for capture channel 1 event. 6 7 MR0INT Interrupt flag for match channel 0. 0 1 MR1INT Interrupt flag for match channel 1. 1 2 MR2INT Interrupt flag for match channel 2. 2 3 MR3INT Interrupt flag for match channel 3. 3 4 RESERVED Reserved 7 32 RESERVED Reserved 7 32 MCR Match Control Register. The MCR is used to control if an interrupt is generated and if the TC is reset when a Match occurs. 0x14 read-write n 0x0 0x0 MR0I Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC. 0 1 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR0R Reset on MR0: the TC will be reset if MR0 matches it. 1 2 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR0S Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC. 2 3 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR1I Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC. 3 4 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR1R Reset on MR1: the TC will be reset if MR1 matches it. 4 5 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR1S Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC. 5 6 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR2I Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC. 6 7 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR2R Reset on MR2: the TC will be reset if MR2 matches it. 7 8 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR2S Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches the TC. 8 9 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR3I Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC. 9 10 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR3R Reset on MR3: the TC will be reset if MR3 matches it. 10 11 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR3S Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches the TC. 11 12 ENUM DISABLED Disabled 0 ENABLED Enabled 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 12 32 MR0 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x18 -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 16 RESERVED Reserved. 16 32 MR1 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x1C -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 16 RESERVED Reserved. 16 32 MR2 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x20 -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 16 RESERVED Reserved. 16 32 MR3 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x24 -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 16 RESERVED Reserved. 16 32 PC Prescale Counter. The 16-bit PC is a counter which is incremented to the value stored in PR. When the value in PR is reached, the TC is incremented and the PC is cleared. The PC is observable and controllable through the bus interface. 0x10 read-write n 0x0 0x0 PC Prescale counter value. 0 16 RESERVED Reserved. 16 32 PR Prescale Register. When the Prescale Counter (below) is equal to this value, the next clock increments the TC and clears the PC. 0xC read-write n 0x0 0x0 PCVAL Prescale value. 0 16 RESERVED Reserved. 16 32 PWMC PWM Control Register. The PWMCON enables PWM mode for the external match pins CT16B0_MAT[1:0] and CT16B1_MAT[1:0]. 0x74 read-write n 0x0 0x0 PWMEN0 PWM mode enable for channel0. 0 1 ENUM CT16BN_MAT0_IS_CONTR CT16Bn_MAT0 is controlled by EM0. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT16Bn_MAT0. 1 PWMEN1 PWM mode enable for channel1. 1 2 ENUM CT16BN_MAT01_IS_CONT CT16Bn_MAT01 is controlled by EM1. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT16Bn_MAT1. 1 PWMEN2 PWM mode enable for channel2. 2 3 ENUM CT16BN_MAT2_IS_CONTR CT16Bn_MAT2 is controlled by EM2. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT16Bn_MAT2. 1 PWMEN3 PWM mode enable for channel3. 3 4 ENUM CT16BN_MAT3_IS_CONTR CT16Bn_MAT3 is controlled by EM3. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT16Bn_MAT3. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 4 32 TC Timer Counter. The 16-bit TC is incremented every PR+1 cycles of PCLK. The TC is controlled through the TCR. 0x8 read-write n 0x0 0x0 RESERVED Reserved. 16 32 TC Timer counter value. 0 16 TCR Timer Control Register. The TCR is used to control the Timer Counter functions. The Timer Counter can be disabled or reset through the TCR. 0x4 read-write n 0x0 0x0 CEN Counter enable. 0 1 ENUM THE_COUNTERS_ARE_DIS The counters are disabled. 0 THE_TIMER_COUNTER_AN The Timer Counter and Prescale Counter are enabled for counting. 1 CRST Counter reset. 1 2 ENUM DO_NOTHING_ Do nothing. 0 THE_TIMER_COUNTER_AN The Timer Counter and the Prescale Counter are synchronously reset on the next positive edge of PCLK. The counters remain reset until TCR[1] is returned to zero. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 2 32 CT16B1 16-bit counter/timers CT16B1 CT16B1 0x0 0x0 0xFFF registers n CT16B1 17 CCR Capture Control Register. The CCR controls which edges of the capture inputs are used to load the Capture Registers and whether or not an interrupt is generated when a capture takes place. 0x28 read-write n 0x0 0x0 CAP0FE Capture on CT16B11_CAP0 falling edge: a sequence of 1 then 0 on CT16B1_CAP0 will cause CR0 to be loaded with the contents of TC. 1 2 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP0I Interrupt on CT16B1_CAP0 event: a CR0 load due to a CT16B1_CAP0 event will generate an interrupt. 2 3 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP0RE Capture on CT16B1_CAP0 rising edge: a sequence of 0 then 1 on CT16B1_CAP0 will cause CR0 to be loaded with the contents of TC. 0 1 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP1FE Capture on CT16B1_CAP1 falling edge: a sequence of 1 then 0 on CT16B1_CAP1 will cause CR1 to be loaded with the contents of TC. 4 5 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP1I Interrupt on CT16B1_CAP1 event: a CR1 load due to a CT16B0_CAP1 event will generate an interrupt. 5 6 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP1RE Capture on CT16B1_CAP1 rising edge: a sequence of 0 then 1 on CT16B1_CAP1 will cause CR1 to be loaded with the contents of TC. 3 4 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 6 32 CR0 Capture Register 0. CR0 is loaded with the value of TC when there is an event on the CT16B0_CAP0 input. 0x2C read-only n 0x0 0x0 CAP Timer counter capture value. 0 16 RESERVED Reserved. 16 32 CR1 Capture Register 1. CR1 is loaded with the value of TC when there is an event on the CT16B1_CAP1 input. 0x30 read-only n 0x0 0x0 CAP Timer counter capture value. 0 16 RESERVED Reserved. 16 32 CTCR Count Control Register. The CTCR selects between Timer and Counter mode, and in Counter mode selects the signal and edge(s) for counting. 0x70 read-write n 0x0 0x0 CIS Count Input Select. In counter mode (when bits 1:0 in this register are not 00), these bits select which CAP pin or comparator output is sampled for clocking. Values 0x2 to 0x3 are reserved. 2 4 ENUM CT16B1_CAP0_ CT16B1_CAP0. 0x0 CT16B1_CAP1_ CT16B1_CAP1. 0x1 CTM Counter/Timer Mode. This field selects which rising PCLK edges can increment Timer's Prescale Counter (PC), or clear PC and increment Timer Counter (TC). If Counter mode is selected in the CTCR, bits 2:0 in the Capture Control Register (CCR) must be programmed as 000. 0 2 ENUM TIMER_MODE_EVERY_RI Timer Mode: every rising PCLK edge 0x0 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2. 0x3 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2. 0x3 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2. 0x3 ENCC Setting this bit to 1 enables clearing of the timer and the prescaler when the capture-edge event specified in bits 7:5 occurs. 4 5 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 8 32 SELCC When bit 4 is a 1, these bits select which capture input edge will cause the timer and prescaler to be cleared. These bits have no effect when bit 4 is low. Values 0x6 to 0x7 are reserved. 5 8 ENUM RISING_EDGE_OF_CT16B Rising Edge of CT16B1_CAP1 clears the timer (if bit 4 is set). 0x2 RISING_EDGE_OF_CT16B Rising Edge of CT16B1_CAP1 clears the timer (if bit 4 is set). 0x2 FALLING_EDGE_OF_CT16 Falling Edge of CT16B1_CAP1 clears the timer (if bit 4 is set). 0x3 FALLING_EDGE_OF_CT16 Falling Edge of CT16B1_CAP1 clears the timer (if bit 4 is set). 0x3 RESERVED_ Reserved. 0x5 RESERVED_ Reserved. 0x5 EMR External Match Register. The EMR controls the match function and the external match pins CT16B0_MAT[1:0] and CT16B1_MAT[1:0]. 0x3C read-write n 0x0 0x0 EM0 External Match 0. This bit reflects the state of output CT16B0_MAT0/CT16B1_MAT0, whether or not this output is connected to its pin. When a match occurs between the TC and MR0, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[5:4] control the functionality of this output. This bit is driven to the CT16B0_MAT0/CT16B1_MAT0 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). 0 1 EM1 External Match 1. This bit reflects the state of output CT16B0_MAT1/CT16B1_MAT1, whether or not this output is connected to its pin. When a match occurs between the TC and MR1, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[7:6] control the functionality of this output. This bit is driven to the CT16B0_MAT0/CT16B1_MAT0 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). 1 2 EM2 External Match 2. This bit reflects the state of match channel 2. When a match occurs between the TC and MR2, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[9:8] control the functionality of this output. 2 3 EM3 External Match 3. This bit reflects the state of output of match channel 3. When a match occurs between the TC and MR3, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[11:10] control the functionality of this output. 3 4 EMC0 External Match Control 0. Determines the functionality of External Match 0. Table 296 shows the encoding of these bits. 4 6 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT16Bn_MAT0 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT16Bn_MAT0 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC1 External Match Control 1. Determines the functionality of External Match 1. 6 8 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT16Bn_MAT1 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT16Bn_MAT1 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC2 External Match Control 2. Determines the functionality of External Match 2. 8 10 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT16Bn_MAT2 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT16Bn_MAT2 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC3 External Match Control 3. Determines the functionality of External Match 3. 10 12 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT16Bn_MAT3 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT16Bn_MAT3 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 12 32 IR Interrupt Register. The IR can be written to clear interrupts. The IR can be read to identify which of eight possible interrupt sources are pending. 0x0 read-write n 0x0 0x0 CR0INT Interrupt flag for capture channel 0 event. 4 5 CR1INT Interrupt flag for capture channel 1 event. 5 6 MR0INT Interrupt flag for match channel 0. 0 1 MR1INT Interrupt flag for match channel 1. 1 2 MR2INT Interrupt flag for match channel 2. 2 3 MR3INT Interrupt flag for match channel 3. 3 4 RESERVED Reserved 7 32 RESERVED Reserved 7 32 MCR Match Control Register. The MCR is used to control if an interrupt is generated and if the TC is reset when a Match occurs. 0x14 read-write n 0x0 0x0 MR0I Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC. 0 1 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR0R Reset on MR0: the TC will be reset if MR0 matches it. 1 2 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR0S Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC. 2 3 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR1I Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC. 3 4 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR1R Reset on MR1: the TC will be reset if MR1 matches it. 4 5 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR1S Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC. 5 6 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR2I Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC. 6 7 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR2R Reset on MR2: the TC will be reset if MR2 matches it. 7 8 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR2S Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches the TC. 8 9 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR3I Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC. 9 10 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR3R Reset on MR3: the TC will be reset if MR3 matches it. 10 11 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR3S Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches the TC. 11 12 ENUM DISABLED Disabled 0 ENABLED Enabled 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 12 32 MR0 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x18 -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 16 RESERVED Reserved. 16 32 MR1 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x1C -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 16 RESERVED Reserved. 16 32 MR2 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x20 -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 16 RESERVED Reserved. 16 32 MR3 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x24 -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 16 RESERVED Reserved. 16 32 PC Prescale Counter. The 16-bit PC is a counter which is incremented to the value stored in PR. When the value in PR is reached, the TC is incremented and the PC is cleared. The PC is observable and controllable through the bus interface. 0x10 read-write n 0x0 0x0 PC Prescale counter value. 0 16 RESERVED Reserved. 16 32 PR Prescale Register. When the Prescale Counter (below) is equal to this value, the next clock increments the TC and clears the PC. 0xC read-write n 0x0 0x0 PCVAL Prescale value. 0 16 RESERVED Reserved. 16 32 PWMC PWM Control Register. The PWMCON enables PWM mode for the external match pins CT16B0_MAT[1:0] and CT16B1_MAT[1:0]. 0x74 read-write n 0x0 0x0 PWMEN0 PWM mode enable for channel0. 0 1 ENUM CT16BN_MAT0_IS_CONTR CT16Bn_MAT0 is controlled by EM0. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT16Bn_MAT0. 1 PWMEN1 PWM mode enable for channel1. 1 2 ENUM CT16BN_MAT01_IS_CONT CT16Bn_MAT01 is controlled by EM1. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT16Bn_MAT1. 1 PWMEN2 PWM mode enable for channel2. 2 3 ENUM CT16BN_MAT2_IS_CONTR CT16Bn_MAT2 is controlled by EM2. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT16Bn_MAT2. 1 PWMEN3 PWM mode enable for channel3. 3 4 ENUM CT16BN_MAT3_IS_CONTR CT16Bn_MAT3 is controlled by EM3. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT16Bn_MAT3. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 4 32 TC Timer Counter. The 16-bit TC is incremented every PR+1 cycles of PCLK. The TC is controlled through the TCR. 0x8 read-write n 0x0 0x0 RESERVED Reserved. 16 32 TC Timer counter value. 0 16 TCR Timer Control Register. The TCR is used to control the Timer Counter functions. The Timer Counter can be disabled or reset through the TCR. 0x4 read-write n 0x0 0x0 CEN Counter enable. 0 1 ENUM THE_COUNTERS_ARE_DIS The counters are disabled. 0 THE_TIMER_COUNTER_AN The Timer Counter and Prescale Counter are enabled for counting. 1 CRST Counter reset. 1 2 ENUM DO_NOTHING_ Do nothing. 0 THE_TIMER_COUNTER_AN The Timer Counter and the Prescale Counter are synchronously reset on the next positive edge of PCLK. The counters remain reset until TCR[1] is returned to zero. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 2 32 CT32B0 32-bit counter/timers CT32B0 CT32B0 0x0 0x0 0xFFF registers n CT32B0 18 CCR Capture Control Register. The CCR controls which edges of the capture inputs are used to load the Capture Registers and whether or not an interrupt is generated when a capture takes place. 0x28 read-write n 0x0 0x0 CAP0FE Capture on CT32B0_CAP0 falling edge: a sequence of 1 then 0 on CT32B0_CAP0 will cause CR0 to be loaded with the contents of TC. 1 2 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP0I Interrupt on CT32B0_CAP0 event: a CR0 load due to a CT32B0_CAP0 event will generate an interrupt. 2 3 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP0RE Capture on CT32B0_CAP0 rising edge: a sequence of 0 then 1 on CT32B0_CAP0 will cause CR0 to be loaded with the contents of TC. 0 1 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP1FE Capture on CT32B0_CAP1 falling edge: a sequence of 1 then 0 on CT32B0_CAP1 will cause CR1 to be loaded with the contents of TC. 7 8 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP1I Interrupt on CT32B0_CAP1 event: a CR1 load due to a CT32B0_CAP1 event will generate an interrupt. 8 9 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP1RE Capture on CT32B0_CAP1 rising edge: a sequence of 0 then 1 on CT32B0_CAP1 will cause CR1 to be loaded with the contents of TC. 6 7 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 9 32 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 9 32 CR0 Capture Register 0. CR0 is loaded with the value of TC when there is an event on the CT32B0_CAP0 input. 0x2C read-only n 0x0 0x0 CAP Timer counter capture value. 0 32 CR1 Capture Register 1. CR1 is loaded with the value of TC when there is an event on the CT32B0_CAP1 input. 0x34 read-write n 0x0 0x0 CAP Timer counter capture value. 0 32 CTCR Count Control Register. The CTCR selects between Timer and Counter mode, and in Counter mode selects the signal and edge(s) for counting. 0x70 read-write n 0x0 0x0 CIS Count Input Select. In counter mode (when bits 1:0 in this register are not 00), these bits select which CAP pin or comparator output is sampled for clocking. If Counter mode is selected in the CTCR, the 3 bits for that input in the Capture Control Register (CCR) must be programmed as 000. Values 0x1 and0x3 are reserved. 2 4 ENUM CT32B0_CAP0 CT32B0_CAP0 0x0 RESERVED_ Reserved. 0x1 CT32B0_CAP1 CT32B0_CAP1 0x2 CTM Counter/Timer Mode. This field selects which rising PCLK edges can increment Timer's Prescale Counter (PC), or clear PC and increment Timer Counter (TC). If Counter mode is selected in the CTCR, bits 2:0 in the Capture Control Register (CCR) must be programmed as 000. 0 2 ENUM TIMER_MODE_EVERY_RI Timer Mode: every rising PCLK edge 0x0 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2. 0x3 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2. 0x3 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2. 0x3 ENCC Setting this bit to 1 enables clearing of the timer and the prescaler when the capture-edge event specified in bits 7:5 occurs. 4 5 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 8 32 SElCC When bit 4 is a 1, these bits select which capture input edge will cause the timer and prescaler to be cleared. These bits have no effect when bit 4 is low. Values 0x2 to 0x3 and 0x6 to 0x7 are reserved. 5 8 ENUM RESERVED Reserved, 0x2 RESERVED_ Reserved. 0x3 RISING_EDGE_OF_CT32B Rising Edge of CT32B0_CAP1 clears the timer (if bit 4 is set) 0x4 RISING_EDGE_OF_CT32B Rising Edge of CT32B0_CAP1 clears the timer (if bit 4 is set) 0x4 FALLING_EDGE_OF_CT32 Falling Edge of CT32B0_CAP1 clears the timer (if bit 4 is set) 0x5 FALLING_EDGE_OF_CT32 Falling Edge of CT32B0_CAP1 clears the timer (if bit 4 is set) 0x5 EMR External Match Register. The EMR controls the match function and the external match pins CT32Bn_MAT[3:0]. 0x3C read-write n 0x0 0x0 EM0 External Match 0. This bit reflects the state of output CT32Bn_MAT0, whether or not this output is connected to its pin. When a match occurs between the TC and MR0, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[5:4] control the functionality of this output. This bit is driven to the CT32B0_MAT0/CT32B1_MAT0 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). 0 1 EM1 External Match 1. This bit reflects the state of output CT32Bn_MAT1, whether or not this output is connected to its pin. When a match occurs between the TC and MR1, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[7:6] control the functionality of this output. This bit is driven to the CT32B0_MAT1/CT32B1_MAT1 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). 1 2 EM2 External Match 2. This bit reflects the state of output CT32Bn_MAT2, whether or not this output is connected to its pin. When a match occurs between the TC and MR2, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[9:8] control the functionality of this output. This bit is driven to the CT32B0_MAT2/CT32B1_MAT2 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). 2 3 EM3 External Match 3. This bit reflects the state of output CT32Bn_MAT3, whether or not this output is connected to its pin. When a match occurs between the TC and MR3, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[11:10] control the functionality of this output. This bit is driven to the CT32B3_MAT0/CT32B1_MAT3 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). 3 4 EMC0 External Match Control 0. Determines the functionality of External Match 0. 4 6 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT32Bi_MAT0 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT32Bi_MAT0 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC1 External Match Control 1. Determines the functionality of External Match 1. 6 8 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT32Bi_MAT1 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT32Bi_MAT1 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC2 External Match Control 2. Determines the functionality of External Match 2. 8 10 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT32Bi_MAT2 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT32Bi_MAT2 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC3 External Match Control 3. Determines the functionality of External Match 3. 10 12 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT32Bi_MAT3 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT32Bi_MAT3 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 12 32 IR Interrupt Register. The IR can be written to clear interrupts. The IR can be read to identify which of eight possible interrupt sources are pending. 0x0 read-write n 0x0 0x0 CR0INT Interrupt flag for capture channel 0 event. 4 5 CR1INT Interrupt flag for capture channel 1 event. 6 7 MR0INT Interrupt flag for match channel 0. 0 1 MR1INT Interrupt flag for match channel 1. 1 2 MR2INT Interrupt flag for match channel 2. 2 3 MR3INT Interrupt flag for match channel 3. 3 4 RESERVED Reserved 7 32 RESERVED Reserved 7 32 MCR Match Control Register. The MCR is used to control if an interrupt is generated and if the TC is reset when a Match occurs. 0x14 read-write n 0x0 0x0 MR0I Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC. 0 1 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR0R Reset on MR0: the TC will be reset if MR0 matches it. 1 2 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR0S Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC. 2 3 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR1I Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC. 3 4 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR1R Reset on MR1: the TC will be reset if MR1 matches it. 4 5 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR1S Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC. 5 6 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR2I Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC. 6 7 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR2R Reset on MR2: the TC will be reset if MR2 matches it. 7 8 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR2S Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches the TC. 8 9 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR3I Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC. 9 10 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR3R Reset on MR3: the TC will be reset if MR3 matches it. 10 11 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR3S Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches the TC. 11 12 ENUM DISABLED Disabled 0 ENABLED Enabled 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 12 32 MR0 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x18 -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 32 MR1 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x1C -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 32 MR2 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x20 -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 32 MR3 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x24 -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 32 PC Prescale Counter. The 32-bit PC is a counter which is incremented to the value stored in PR. When the value in PR is reached, the TC is incremented and the PC is cleared. The PC is observable and controllable through the bus interface. 0x10 read-write n 0x0 0x0 PC Prescale counter value. 0 32 PR Prescale Register. When the Prescale Counter (below) is equal to this value, the next clock increments the TC and clears the PC. 0xC read-write n 0x0 0x0 PCVAL Prescaler value. 0 32 PWMC PWM Control Register. The PWMCON enables PWM mode for the external match pins CT32Bn_MAT[3:0]. 0x74 read-write n 0x0 0x0 PWMEN0 PWM mode enable for channel0. 0 1 ENUM CT32BN_MAT0_IS_CONTR CT32Bn_MAT0 is controlled by EM0. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT32Bn_MAT0. 1 PWMEN1 PWM mode enable for channel1. 1 2 ENUM CT32BN_MAT01_IS_CONT CT32Bn_MAT01 is controlled by EM1. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT32Bn_MAT1. 1 PWMEN2 PWM mode enable for channel2. 2 3 ENUM CT32BN_MAT2_IS_CONTR CT32Bn_MAT2 is controlled by EM2. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT32Bn_MAT2. 1 PWMEN3 PWM mode enable for channel3. Note: It is recommended to use match channel 3 to set the PWM cycle. 3 4 ENUM CT32BN_MAT3_IS_CONTR CT32Bn_MAT3 is controlled by EM3. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT132Bn_MAT3. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 4 32 TC Timer Counter. The 32-bit TC is incremented every PR+1 cycles of PCLK. The TC is controlled through the TCR. 0x8 read-write n 0x0 0x0 TC Timer counter value. 0 32 TCR Timer Control Register. The TCR is used to control the Timer Counter functions. The Timer Counter can be disabled or reset through the TCR. 0x4 read-write n 0x0 0x0 CEN Counter enable. 0 1 ENUM THE_COUNTERS_ARE_DIS The counters are disabled. 0 THE_TIMER_COUNTER_AN The Timer Counter and Prescale Counter are enabled for counting. 1 CRST Counter reset. 1 2 ENUM DO_NOTHING_ Do nothing. 0 THE_TIMER_COUNTER_AN The Timer Counter and the Prescale Counter are synchronously reset on the next positive edge of PCLK. The counters remain reset until TCR[1] is returned to zero. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 2 32 CT32B1 32-bit counter/timers CT32B1 CT32B1 0x0 0x0 0xFFF registers n CT32B1 19 CCR Capture Control Register. The CCR controls which edges of the capture inputs are used to load the Capture Registers and whether or not an interrupt is generated when a capture takes place. 0x28 read-write n 0x0 0x0 CAP0FE Capture on CT32B1_CAP0 falling edge: a sequence of 1 then 0 on CT32B1_CAP0 will cause CR0 to be loaded with the contents of TC. 1 2 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP0I Interrupt on CT32B1_CAP0 event: a CR0 load due to a CT32B1_CAP0 event will generate an interrupt. 2 3 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP0RE Capture on CT32B1_CAP0 rising edge: a sequence of 0 then 1 on CT32B1_CAP0 will cause CR0 to be loaded with the contents of TC. 0 1 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP1FE Capture on CT32B1_CAP1 falling edge: a sequence of 1 then 0 on CT32B1_CAP1 will cause CR1 to be loaded with the contents of TC. 4 5 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP1I Interrupt on CT32B1_CAP1 event: a CR1 load due to a CT32B1_CAP1 event will generate an interrupt. 5 6 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 CAP1RE Capture on CT32B1_CAP1 rising edge: a sequence of 0 then 1 on CT32B1_CAP1 will cause CR1 to be loaded with the contents of TC. 3 4 ENUM DISABLED_ Disabled. 0 ENABLED_ Enabled. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 6 32 CR0 Capture Register 0. CR0 is loaded with the value of TC when there is an event on the CT32B0_CAP0 input. 0x2C read-only n 0x0 0x0 CAP Timer counter capture value. 0 32 CR1 Capture Register 1. CR1 is loaded with the value of TC when there is an event on the CT32B1_CAP1 input. 0x30 read-write n 0x0 0x0 CAP Timer counter capture value. 0 32 CTCR Count Control Register. The CTCR selects between Timer and Counter mode, and in Counter mode selects the signal and edge(s) for counting. 0x70 read-write n 0x0 0x0 CIS Count Input Select. In counter mode (when bits 1:0 in this register are not 00), these bits select which CAP pin or comparator output is sampled for clocking. If Counter mode is selected in the CTCR, the 3 bits for that input in the Capture Control Register (CCR) must be programmed as 000. Values 0x2 to 0x3 are reserved. 2 4 ENUM CT32B1_CAP0 CT32B1_CAP0 0x0 CT32B1_CAP1 CT32B1_CAP1 0x1 CTM Counter/Timer Mode. This field selects which rising PCLK edges can increment Timer's Prescale Counter (PC), or clear PC and increment Timer Counter (TC). If Counter mode is selected in the CTCR, bits 2:0 in the Capture Control Register (CCR) must be programmed as 000. 0 2 ENUM TIMER_MODE_EVERY_RI Timer Mode: every rising PCLK edge 0x0 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2. 0x3 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2. 0x3 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2. 0x3 ENCC Setting this bit to 1 enables clearing of the timer and the prescaler when the capture-edge event specified in bits 7:5 occurs. 4 5 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 8 32 SElCC When bit 4 is a 1, these bits select which capture input edge will cause the timer and prescaler to be cleared. These bits have no effect when bit 4 is low. Values 0x3 to 0x7 are reserved. 5 8 ENUM RISING_EDGE_OF_CT32B Rising Edge of CT32B1_CAP1 clears the timer (if bit 4 is set) 0x2 RISING_EDGE_OF_CT32B Rising Edge of CT32B1_CAP1 clears the timer (if bit 4 is set) 0x2 FALLING_EDGE_OF_CT32 Falling Edge of CT32B1_CAP1 clears the timer (if bit 4 is set) 0x3 FALLING_EDGE_OF_CT32 Falling Edge of CT32B1_CAP1 clears the timer (if bit 4 is set) 0x3 EMR External Match Register. The EMR controls the match function and the external match pins CT32Bn_MAT[3:0]. 0x3C read-write n 0x0 0x0 EM0 External Match 0. This bit reflects the state of output CT32Bn_MAT0, whether or not this output is connected to its pin. When a match occurs between the TC and MR0, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[5:4] control the functionality of this output. This bit is driven to the CT32B0_MAT0/CT32B1_MAT0 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). 0 1 EM1 External Match 1. This bit reflects the state of output CT32Bn_MAT1, whether or not this output is connected to its pin. When a match occurs between the TC and MR1, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[7:6] control the functionality of this output. This bit is driven to the CT32B0_MAT1/CT32B1_MAT1 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). 1 2 EM2 External Match 2. This bit reflects the state of output CT32Bn_MAT2, whether or not this output is connected to its pin. When a match occurs between the TC and MR2, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[9:8] control the functionality of this output. This bit is driven to the CT32B0_MAT2/CT32B1_MAT2 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). 2 3 EM3 External Match 3. This bit reflects the state of output CT32Bn_MAT3, whether or not this output is connected to its pin. When a match occurs between the TC and MR3, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[11:10] control the functionality of this output. This bit is driven to the CT32B3_MAT0/CT32B1_MAT3 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). 3 4 EMC0 External Match Control 0. Determines the functionality of External Match 0. 4 6 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT32Bi_MAT0 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT32Bi_MAT0 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC1 External Match Control 1. Determines the functionality of External Match 1. 6 8 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT32Bi_MAT1 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT32Bi_MAT1 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC2 External Match Control 2. Determines the functionality of External Match 2. 8 10 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT32Bi_MAT2 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT32Bi_MAT2 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC3 External Match Control 3. Determines the functionality of External Match 3. 10 12 ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT32Bi_MAT3 pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT32Bi_MAT3 pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 12 32 IR Interrupt Register. The IR can be written to clear interrupts. The IR can be read to identify which of eight possible interrupt sources are pending. 0x0 read-write n 0x0 0x0 CR0INT Interrupt flag for capture channel 0 event. 4 5 CR1INT Interrupt flag for capture channel 1 event. 5 6 MR0INT Interrupt flag for match channel 0. 0 1 MR1INT Interrupt flag for match channel 1. 1 2 MR2INT Interrupt flag for match channel 2. 2 3 MR3INT Interrupt flag for match channel 3. 3 4 RESERVED Reserved 6 32 MCR Match Control Register. The MCR is used to control if an interrupt is generated and if the TC is reset when a Match occurs. 0x14 read-write n 0x0 0x0 MR0I Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC. 0 1 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR0R Reset on MR0: the TC will be reset if MR0 matches it. 1 2 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR0S Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC. 2 3 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR1I Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC. 3 4 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR1R Reset on MR1: the TC will be reset if MR1 matches it. 4 5 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR1S Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC. 5 6 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR2I Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC. 6 7 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR2R Reset on MR2: the TC will be reset if MR2 matches it. 7 8 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR2S Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches the TC. 8 9 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR3I Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC. 9 10 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR3R Reset on MR3: the TC will be reset if MR3 matches it. 10 11 ENUM DISABLED Disabled 0 ENABLED Enabled 1 MR3S Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches the TC. 11 12 ENUM DISABLED Disabled 0 ENABLED Enabled 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 12 32 MR0 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x18 -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 32 MR1 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x1C -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 32 MR2 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x20 -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 32 MR3 Match Register 0. MR0 can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR0 matches the TC. 0x24 -1 read-write n 0x0 0x0 MATCH Timer counter match value. 0 32 PC Prescale Counter. The 32-bit PC is a counter which is incremented to the value stored in PR. When the value in PR is reached, the TC is incremented and the PC is cleared. The PC is observable and controllable through the bus interface. 0x10 read-write n 0x0 0x0 PC Prescale counter value. 0 32 PR Prescale Register. When the Prescale Counter (below) is equal to this value, the next clock increments the TC and clears the PC. 0xC read-write n 0x0 0x0 PCVAL Prescaler value. 0 32 PWMC PWM Control Register. The PWMCON enables PWM mode for the external match pins CT32Bn_MAT[3:0]. 0x74 read-write n 0x0 0x0 PWMEN0 PWM mode enable for channel0. 0 1 ENUM CT32BN_MAT0_IS_CONTR CT32Bn_MAT0 is controlled by EM0. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT32Bn_MAT0. 1 PWMEN1 PWM mode enable for channel1. 1 2 ENUM CT32BN_MAT01_IS_CONT CT32Bn_MAT01 is controlled by EM1. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT32Bn_MAT1. 1 PWMEN2 PWM mode enable for channel2. 2 3 ENUM CT32BN_MAT2_IS_CONTR CT32Bn_MAT2 is controlled by EM2. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT32Bn_MAT2. 1 PWMEN3 PWM mode enable for channel3. Note: It is recommended to use match channel 3 to set the PWM cycle. 3 4 ENUM CT32BN_MAT3_IS_CONTR CT32Bn_MAT3 is controlled by EM3. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT132Bn_MAT3. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 4 32 TC Timer Counter. The 32-bit TC is incremented every PR+1 cycles of PCLK. The TC is controlled through the TCR. 0x8 read-write n 0x0 0x0 TC Timer counter value. 0 32 TCR Timer Control Register. The TCR is used to control the Timer Counter functions. The Timer Counter can be disabled or reset through the TCR. 0x4 read-write n 0x0 0x0 CEN Counter enable. 0 1 ENUM THE_COUNTERS_ARE_DIS The counters are disabled. 0 THE_TIMER_COUNTER_AN The Timer Counter and Prescale Counter are enabled for counting. 1 CRST Counter reset. 1 2 ENUM DO_NOTHING_ Do nothing. 0 THE_TIMER_COUNTER_AN The Timer Counter and the Prescale Counter are synchronously reset on the next positive edge of PCLK. The counters remain reset until TCR[1] is returned to zero. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 2 32 FLASHCTRL Flash programming firmware FLASHCTRL 0x0 0x0 0xFFF registers n FLASH_IRQ 27 EEMSSIG EEPROM 24-bit BIST signature register 0xA4 read-only n 0x0 0x0 DATA_SIG BIST 16-bit signature calculated from only the data bytes 0 16 PARITY_SIG BIST 16-bit signature calculated from only the parity bits of the data bytes 16 32 EEMSSTART EEPROM BIST start address register 0x9C read-write n 0x0 0x0 RESERVED Reserved 14 32 STARTA BIST start address: Bit 0 is fixed zero since only even addresses are allowed. 0 14 EEMSSTOP EEPROM BIST stop address register 0xA0 read-write n 0x0 0x0 DEVSEL BIST device select bit 0: the BIST signature is generated over the total memory space. Singe pages are interleaved over the EEPROM devices when multiple devices are used, the signature is generated over memory of multiple devices. 1: the BIST signature is generated only over a memory range located on a single EEPROM device. Therefore the internal address generation is done such that the address' CS bits are kept stable to select only the same device. The address' MSB and LSB bits are used to step through the memory range specified by the start and stop address fields. Note: if this bit is set the start and stop address fields must be programmed such that they both address the same EEPROM device. Therefore the address' CS bits in both the start and stop address must be the same. 30 31 RESERVED Reserved 14 30 STOPA BIST stop address: Bit 0 is fixed zero since only even addresses are allowed. 0 14 STRTBIST BIST start bit Setting this bit will start the BIST. This bit is self-clearing. 31 32 FLASHCFG Flash memory access time configuration register 0x10 read-write n 0x0 0x0 FLASHTIM Flash memory access time. FLASHTIM +1 is equal to the number of system clocks used for flash access. 0 2 ENUM 1_SYSTEM_CLOCK_FLASH 1 system clock flash access time (for system clock frequencies of up to 20 MHz). 0x0 2_SYSTEM_CLOCKS_FLAS 2 system clocks flash access time (for system clock frequencies of up to 40 MHz). 0x1 3_SYSTEM_CLOCKS_FLAS 3 system clocks flash access time (for system clock frequencies of up to 50 MHz). 0x2 RESERVED Reserved. User software must not change the value of these bits. Bits 31:2 must be written back exactly as read. 2 32 FMSSTART Signature start address register 0x20 read-write n 0x0 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 17 32 START Signature generation start address (corresponds to AHB byte address bits[20:4]). 0 17 FMSSTOP Signature stop-address register 0x24 read-write n 0x0 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 18 32 SIG_START Start control bit for signature generation. 17 18 ENUM SIGNATURE_GENERATION Signature generation is stopped 0 INITIATE_SIGNATURE_G Initiate signature generation 1 STOP BIST stop address divided by 16 (corresponds to AHB byte address [20:4]). 0 17 FMSTAT Signature generation status register 0xFE0 read-only n 0x0 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 3 32 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 3 32 SIG_DONE When 1, a previously started signature generation has completed. See FMSTATCLR register description for clearing this flag. 2 3 FMSTATCLR Signature generation status clear register 0xFE8 write-only n 0x0 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 3 32 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 3 32 SIG_DONE_CLR Writing a 1 to this bits clears the signature generation completion flag (SIG_DONE) in the FMSTAT register. 2 3 FMSW0 Word 0 [31:0] 0x2C read-only n 0x0 0x0 SW0_31_0 Word 0 of 128-bit signature (bits 31 to 0). 0 32 FMSW1 Word 1 [63:32] 0x30 read-only n 0x0 0x0 SW1_63_32 Word 1 of 128-bit signature (bits 63 to 32). 0 32 FMSW2 Word 2 [95:64] 0x34 read-only n 0x0 0x0 SW2_95_64 Word 2 of 128-bit signature (bits 95 to 64). 0 32 FMSW3 Word 3 [127:96] 0x38 read-only n 0x0 0x0 SW3_127_96 Word 3 of 128-bit signature (bits 127 to 96). 0 32 GPIO_GROUP_INT0 GPIO group interrupt GPIO_GROUP_INT0 0x0 0x0 0xFFF registers n GINT0 8 CTRL GPIO grouped interrupt control register 0x0 read-write n 0x0 0x0 COMB Combine enabled inputs for group interrupt 1 2 ENUM OR_FUNCTIONALITY_A_ OR functionality: A grouped interrupt is generated when any one of the enabled inputs is active (based on its programmed polarity). 0 AND_FUNCTIONALITY_A AND functionality: An interrupt is generated when all enabled bits are active (based on their programmed polarity). 1 INT Group interrupt status. This bit is cleared by writing a one to it. Writing zero has no effect. 0 1 ENUM NO_INTERRUPT_REQUEST No interrupt request is pending. 0 INTERRUPT_REQUEST_IS Interrupt request is active. 1 RESERVED Reserved 3 32 TRIG Group interrupt trigger 2 3 ENUM EDGE_TRIGGERED Edge-triggered 0 LEVEL_TRIGGERED Level-triggered 1 PORT_ENA0 GPIO grouped interrupt port 0/1 enable register 0x40 -1 read-write n 0x0 0x0 ENA_0 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 0 1 ENA_1 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 1 2 ENA_10 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 10 11 ENA_11 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 11 12 ENA_12 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 12 13 ENA_13 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 13 14 ENA_14 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 14 15 ENA_15 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 15 16 ENA_16 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 16 17 ENA_17 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 17 18 ENA_18 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 18 19 ENA_19 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 19 20 ENA_2 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 2 3 ENA_20 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 20 21 ENA_21 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 21 22 ENA_22 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 22 23 ENA_23 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 23 24 ENA_24 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 24 25 ENA_25 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 25 26 ENA_26 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 26 27 ENA_27 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 27 28 ENA_28 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 28 29 ENA_29 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 29 30 ENA_3 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 3 4 ENA_30 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 30 31 ENA_31 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 31 32 ENA_4 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 4 5 ENA_5 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 5 6 ENA_6 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 6 7 ENA_7 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 7 8 ENA_8 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 8 9 ENA_9 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 9 10 PORT_ENA1 GPIO grouped interrupt port 0/1 enable register 0x44 -1 read-write n 0x0 0x0 ENA_0 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 0 1 ENA_1 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 1 2 ENA_10 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 10 11 ENA_11 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 11 12 ENA_12 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 12 13 ENA_13 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 13 14 ENA_14 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 14 15 ENA_15 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 15 16 ENA_16 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 16 17 ENA_17 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 17 18 ENA_18 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 18 19 ENA_19 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 19 20 ENA_2 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 2 3 ENA_20 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 20 21 ENA_21 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 21 22 ENA_22 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 22 23 ENA_23 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 23 24 ENA_24 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 24 25 ENA_25 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 25 26 ENA_26 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 26 27 ENA_27 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 27 28 ENA_28 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 28 29 ENA_29 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 29 30 ENA_3 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 3 4 ENA_30 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 30 31 ENA_31 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 31 32 ENA_4 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 4 5 ENA_5 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 5 6 ENA_6 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 6 7 ENA_7 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 7 8 ENA_8 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 8 9 ENA_9 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 9 10 PORT_POL0 GPIO grouped interrupt port 0 polarity register 0x20 -1 read-write n 0x0 0x0 POL_0 Configure pin polarity of port pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1 . 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 0 1 POL_1 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 1 2 POL_10 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 10 11 POL_11 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 11 12 POL_12 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 12 13 POL_13 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 13 14 POL_14 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 14 15 POL_15 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 15 16 POL_16 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 16 17 POL_17 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 17 18 POL_18 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 18 19 POL_19 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 19 20 POL_2 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 2 3 POL_20 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 20 21 POL_21 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 21 22 POL_22 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 22 23 POL_23 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 23 24 POL_24 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 24 25 POL_25 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 25 26 POL_26 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 26 27 POL_27 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 27 28 POL_28 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 28 29 POL_29 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 29 30 POL_3 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 3 4 POL_30 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 30 31 POL_31 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 31 32 POL_4 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 4 5 POL_5 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 5 6 POL_6 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 6 7 POL_7 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 7 8 POL_8 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 8 9 POL_9 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 9 10 PORT_POL1 GPIO grouped interrupt port 0 polarity register 0x24 -1 read-write n 0x0 0x0 POL_0 Configure pin polarity of port pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1 . 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 0 1 POL_1 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 1 2 POL_10 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 10 11 POL_11 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 11 12 POL_12 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 12 13 POL_13 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 13 14 POL_14 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 14 15 POL_15 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 15 16 POL_16 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 16 17 POL_17 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 17 18 POL_18 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 18 19 POL_19 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 19 20 POL_2 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 2 3 POL_20 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 20 21 POL_21 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 21 22 POL_22 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 22 23 POL_23 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 23 24 POL_24 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 24 25 POL_25 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 25 26 POL_26 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 26 27 POL_27 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 27 28 POL_28 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 28 29 POL_29 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 29 30 POL_3 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 3 4 POL_30 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 30 31 POL_31 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 31 32 POL_4 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 4 5 POL_5 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 5 6 POL_6 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 6 7 POL_7 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 7 8 POL_8 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 8 9 POL_9 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 9 10 GPIO_GROUP_INT1 GPIO group interrupt GPIO_GROUP_INT0 0x0 0x0 0xFFF registers n GINT1 9 CTRL GPIO grouped interrupt control register 0x0 read-write n 0x0 0x0 COMB Combine enabled inputs for group interrupt 1 2 ENUM OR_FUNCTIONALITY_A_ OR functionality: A grouped interrupt is generated when any one of the enabled inputs is active (based on its programmed polarity). 0 AND_FUNCTIONALITY_A AND functionality: An interrupt is generated when all enabled bits are active (based on their programmed polarity). 1 INT Group interrupt status. This bit is cleared by writing a one to it. Writing zero has no effect. 0 1 ENUM NO_INTERRUPT_REQUEST No interrupt request is pending. 0 INTERRUPT_REQUEST_IS Interrupt request is active. 1 RESERVED Reserved 3 32 TRIG Group interrupt trigger 2 3 ENUM EDGE_TRIGGERED Edge-triggered 0 LEVEL_TRIGGERED Level-triggered 1 PORT_ENA0 GPIO grouped interrupt port 0/1 enable register 0x40 -1 read-write n 0x0 0x0 ENA_0 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 0 1 ENA_1 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 1 2 ENA_10 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 10 11 ENA_11 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 11 12 ENA_12 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 12 13 ENA_13 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 13 14 ENA_14 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 14 15 ENA_15 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 15 16 ENA_16 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 16 17 ENA_17 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 17 18 ENA_18 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 18 19 ENA_19 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 19 20 ENA_2 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 2 3 ENA_20 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 20 21 ENA_21 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 21 22 ENA_22 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 22 23 ENA_23 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 23 24 ENA_24 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 24 25 ENA_25 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 25 26 ENA_26 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 26 27 ENA_27 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 27 28 ENA_28 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 28 29 ENA_29 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 29 30 ENA_3 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 3 4 ENA_30 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 30 31 ENA_31 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 31 32 ENA_4 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 4 5 ENA_5 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 5 6 ENA_6 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 6 7 ENA_7 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 7 8 ENA_8 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 8 9 ENA_9 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 9 10 PORT_ENA1 GPIO grouped interrupt port 0/1 enable register 0x44 -1 read-write n 0x0 0x0 ENA_0 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 0 1 ENA_1 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 1 2 ENA_10 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 10 11 ENA_11 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 11 12 ENA_12 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 12 13 ENA_13 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 13 14 ENA_14 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 14 15 ENA_15 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 15 16 ENA_16 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 16 17 ENA_17 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 17 18 ENA_18 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 18 19 ENA_19 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 19 20 ENA_2 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 2 3 ENA_20 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 20 21 ENA_21 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 21 22 ENA_22 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 22 23 ENA_23 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 23 24 ENA_24 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 24 25 ENA_25 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 25 26 ENA_26 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 26 27 ENA_27 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 27 28 ENA_28 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 28 29 ENA_29 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 29 30 ENA_3 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 3 4 ENA_30 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 30 31 ENA_31 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 31 32 ENA_4 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 4 5 ENA_5 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 5 6 ENA_6 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 6 7 ENA_7 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 7 8 ENA_8 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 8 9 ENA_9 Enable port 0/1 pin for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the port 0/1 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0/1 pin is enabled and contributes to the grouped interrupt. 9 10 PORT_POL0 GPIO grouped interrupt port 0 polarity register 0x20 -1 read-write n 0x0 0x0 POL_0 Configure pin polarity of port pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1 . 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 0 1 POL_1 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 1 2 POL_10 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 10 11 POL_11 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 11 12 POL_12 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 12 13 POL_13 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 13 14 POL_14 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 14 15 POL_15 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 15 16 POL_16 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 16 17 POL_17 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 17 18 POL_18 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 18 19 POL_19 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 19 20 POL_2 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 2 3 POL_20 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 20 21 POL_21 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 21 22 POL_22 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 22 23 POL_23 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 23 24 POL_24 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 24 25 POL_25 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 25 26 POL_26 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 26 27 POL_27 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 27 28 POL_28 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 28 29 POL_29 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 29 30 POL_3 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 3 4 POL_30 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 30 31 POL_31 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 31 32 POL_4 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 4 5 POL_5 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 5 6 POL_6 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 6 7 POL_7 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 7 8 POL_8 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 8 9 POL_9 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 9 10 PORT_POL1 GPIO grouped interrupt port 0 polarity register 0x24 -1 read-write n 0x0 0x0 POL_0 Configure pin polarity of port pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1 . 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 0 1 POL_1 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 1 2 POL_10 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 10 11 POL_11 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 11 12 POL_12 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 12 13 POL_13 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 13 14 POL_14 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 14 15 POL_15 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 15 16 POL_16 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 16 17 POL_17 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 17 18 POL_18 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 18 19 POL_19 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 19 20 POL_2 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 2 3 POL_20 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 20 21 POL_21 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 21 22 POL_22 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 22 23 POL_23 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 23 24 POL_24 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 24 25 POL_25 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 25 26 POL_26 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 26 27 POL_27 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 27 28 POL_28 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 28 29 POL_29 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 29 30 POL_3 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 3 4 POL_30 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 30 31 POL_31 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 31 32 POL_4 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 4 5 POL_5 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 5 6 POL_6 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 6 7 POL_7 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 7 8 POL_8 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 8 9 POL_9 Configure pin polarity of port 0/1 pins for group interrupt. Bit n corresponds to pin P0/1_n of port 0/1. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt. 9 10 GPIO_PIN_INT GPIO pin interrupt GPIO_PIN_INT 0x0 0x0 0xFFF registers n PIN_INT0 0 PIN_INT1 1 PIN_INT2 2 PIN_INT3 3 PIN_INT4 4 PIN_INT5 5 PIN_INT6 6 PIN_INT7 7 CIENF Clear Pin Interrupt Enable Falling Edge / Active Level address 0x18 write-only n 0x0 0x0 CENAF0 Ones written to this address clears bits in the IENF, thus disabling interrupts. Bit n clears bit n in the IENF register. 0 = No operation. 1 = LOW-active interrupt selected or falling edge interrupt disabled. 0 1 CENAF1 Ones written to this address clears bits in the IENF, thus disabling interrupts. Bit n clears bit n in the IENF register. 0 = No operation. 1 = LOW-active interrupt selected or falling edge interrupt disabled. 1 2 CENAF2 Ones written to this address clears bits in the IENF, thus disabling interrupts. Bit n clears bit n in the IENF register. 0 = No operation. 1 = LOW-active interrupt selected or falling edge interrupt disabled. 2 3 CENAF3 Ones written to this address clears bits in the IENF, thus disabling interrupts. Bit n clears bit n in the IENF register. 0 = No operation. 1 = LOW-active interrupt selected or falling edge interrupt disabled. 3 4 CENAF4 Ones written to this address clears bits in the IENF, thus disabling interrupts. Bit n clears bit n in the IENF register. 0 = No operation. 1 = LOW-active interrupt selected or falling edge interrupt disabled. 4 5 CENAF5 Ones written to this address clears bits in the IENF, thus disabling interrupts. Bit n clears bit n in the IENF register. 0 = No operation. 1 = LOW-active interrupt selected or falling edge interrupt disabled. 5 6 CENAF6 Ones written to this address clears bits in the IENF, thus disabling interrupts. Bit n clears bit n in the IENF register. 0 = No operation. 1 = LOW-active interrupt selected or falling edge interrupt disabled. 6 7 CENAF7 Ones written to this address clears bits in the IENF, thus disabling interrupts. Bit n clears bit n in the IENF register. 0 = No operation. 1 = LOW-active interrupt selected or falling edge interrupt disabled. 7 8 RESERVED Reserved. 8 32 CIENR Clear Pin Interrupt Enable (Rising) register 0xC write-only n 0x0 0x0 CENRL0 Ones written to this address clear bits in the IENR, thus disabling the interrupts. Bit n clears bit n in the IENR register. 0 = No operation. 1 = Disable rising edge or level interrupt. 0 1 CENRL1 Ones written to this address clear bits in the IENR, thus disabling the interrupts. Bit n clears bit n in the IENR register. 0 = No operation. 1 = Disable rising edge or level interrupt. 1 2 CENRL2 Ones written to this address clear bits in the IENR, thus disabling the interrupts. Bit n clears bit n in the IENR register. 0 = No operation. 1 = Disable rising edge or level interrupt. 2 3 CENRL3 Ones written to this address clear bits in the IENR, thus disabling the interrupts. Bit n clears bit n in the IENR register. 0 = No operation. 1 = Disable rising edge or level interrupt. 3 4 CENRL4 Ones written to this address clear bits in the IENR, thus disabling the interrupts. Bit n clears bit n in the IENR register. 0 = No operation. 1 = Disable rising edge or level interrupt. 4 5 CENRL5 Ones written to this address clear bits in the IENR, thus disabling the interrupts. Bit n clears bit n in the IENR register. 0 = No operation. 1 = Disable rising edge or level interrupt. 5 6 CENRL6 Ones written to this address clear bits in the IENR, thus disabling the interrupts. Bit n clears bit n in the IENR register. 0 = No operation. 1 = Disable rising edge or level interrupt. 6 7 CENRL7 Ones written to this address clear bits in the IENR, thus disabling the interrupts. Bit n clears bit n in the IENR register. 0 = No operation. 1 = Disable rising edge or level interrupt. 7 8 RESERVED Reserved. 8 32 FALL Pin Interrupt Falling Edge register 0x20 read-write n 0x0 0x0 FDET0 Falling edge detect. Bit n detects the falling edge of the pin selected in PINTSELn. Read 0: No falling edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a falling edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear falling edge detection for this pin. 0 1 FDET1 Falling edge detect. Bit n detects the falling edge of the pin selected in PINTSELn. Read 0: No falling edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a falling edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear falling edge detection for this pin. 1 2 FDET2 Falling edge detect. Bit n detects the falling edge of the pin selected in PINTSELn. Read 0: No falling edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a falling edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear falling edge detection for this pin. 2 3 FDET3 Falling edge detect. Bit n detects the falling edge of the pin selected in PINTSELn. Read 0: No falling edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a falling edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear falling edge detection for this pin. 3 4 FDET4 Falling edge detect. Bit n detects the falling edge of the pin selected in PINTSELn. Read 0: No falling edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a falling edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear falling edge detection for this pin. 4 5 FDET5 Falling edge detect. Bit n detects the falling edge of the pin selected in PINTSELn. Read 0: No falling edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a falling edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear falling edge detection for this pin. 5 6 FDET6 Falling edge detect. Bit n detects the falling edge of the pin selected in PINTSELn. Read 0: No falling edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a falling edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear falling edge detection for this pin. 6 7 FDET7 Falling edge detect. Bit n detects the falling edge of the pin selected in PINTSELn. Read 0: No falling edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a falling edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear falling edge detection for this pin. 7 8 RESERVED Reserved. 8 32 IENF Pin Interrupt Enable Falling Edge / Active Level register 0x10 read-write n 0x0 0x0 ENAF0 Enables the falling edge or configures the active level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable falling edge interrupt or set active interrupt level LOW. 1 = Enable falling edge interrupt enabled or set active interrupt level HIGH. 0 1 ENAF1 Enables the falling edge or configures the active level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable falling edge interrupt or set active interrupt level LOW. 1 = Enable falling edge interrupt enabled or set active interrupt level HIGH. 1 2 ENAF2 Enables the falling edge or configures the active level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable falling edge interrupt or set active interrupt level LOW. 1 = Enable falling edge interrupt enabled or set active interrupt level HIGH. 2 3 ENAF3 Enables the falling edge or configures the active level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable falling edge interrupt or set active interrupt level LOW. 1 = Enable falling edge interrupt enabled or set active interrupt level HIGH. 3 4 ENAF4 Enables the falling edge or configures the active level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable falling edge interrupt or set active interrupt level LOW. 1 = Enable falling edge interrupt enabled or set active interrupt level HIGH. 4 5 ENAF5 Enables the falling edge or configures the active level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable falling edge interrupt or set active interrupt level LOW. 1 = Enable falling edge interrupt enabled or set active interrupt level HIGH. 5 6 ENAF6 Enables the falling edge or configures the active level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable falling edge interrupt or set active interrupt level LOW. 1 = Enable falling edge interrupt enabled or set active interrupt level HIGH. 6 7 ENAF7 Enables the falling edge or configures the active level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable falling edge interrupt or set active interrupt level LOW. 1 = Enable falling edge interrupt enabled or set active interrupt level HIGH. 7 8 RESERVED Reserved. 8 32 IENR Pin Interrupt Enable (Rising) register 0x4 read-write n 0x0 0x0 ENRL0 Enables the rising edge or level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable rising edge or level interrupt. 1 = Enable rising edge or level interrupt. 0 1 ENRL1 Enables the rising edge or level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable rising edge or level interrupt. 1 = Enable rising edge or level interrupt. 1 2 ENRL2 Enables the rising edge or level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable rising edge or level interrupt. 1 = Enable rising edge or level interrupt. 2 3 ENRL3 Enables the rising edge or level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable rising edge or level interrupt. 1 = Enable rising edge or level interrupt. 3 4 ENRL4 Enables the rising edge or level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable rising edge or level interrupt. 1 = Enable rising edge or level interrupt. 4 5 ENRL5 Enables the rising edge or level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable rising edge or level interrupt. 1 = Enable rising edge or level interrupt. 5 6 ENRL6 Enables the rising edge or level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable rising edge or level interrupt. 1 = Enable rising edge or level interrupt. 6 7 ENRL7 Enables the rising edge or level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable rising edge or level interrupt. 1 = Enable rising edge or level interrupt. 7 8 RESERVED Reserved. 8 32 ISEL Pin Interrupt Mode register 0x0 read-write n 0x0 0x0 PMODE0 Selects the interrupt mode for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Edge sensitive 1 = Level sensitive 0 1 PMODE1 Selects the interrupt mode for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Edge sensitive 1 = Level sensitive 1 2 PMODE2 Selects the interrupt mode for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Edge sensitive 1 = Level sensitive 2 3 PMODE3 Selects the interrupt mode for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Edge sensitive 1 = Level sensitive 3 4 PMODE4 Selects the interrupt mode for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Edge sensitive 1 = Level sensitive 4 5 PMODE5 Selects the interrupt mode for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Edge sensitive 1 = Level sensitive 5 6 PMODE6 Selects the interrupt mode for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Edge sensitive 1 = Level sensitive 6 7 PMODE7 Selects the interrupt mode for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Edge sensitive 1 = Level sensitive 7 8 RESERVED Reserved. 8 32 IST Pin Interrupt Status register 0x24 read-write n 0x0 0x0 PSTAT0 Pin interrupt status. Bit n returns the status, clears the edge interrupt, or inverts the active level of the pin selected in PINTSELn. Read 0: interrupt is not being requested for this interrupt pin. Write 0: no operation. Read 1: interrupt is being requested for this interrupt pin. Write 1 (edge-sensitive): clear rising- and falling-edge detection for this pin. Write 1 (level-sensitive): switch the active level for this pin (in the PINTENT_F register). 0 1 PSTAT1 Pin interrupt status. Bit n returns the status, clears the edge interrupt, or inverts the active level of the pin selected in PINTSELn. Read 0: interrupt is not being requested for this interrupt pin. Write 0: no operation. Read 1: interrupt is being requested for this interrupt pin. Write 1 (edge-sensitive): clear rising- and falling-edge detection for this pin. Write 1 (level-sensitive): switch the active level for this pin (in the PINTENT_F register). 1 2 PSTAT2 Pin interrupt status. Bit n returns the status, clears the edge interrupt, or inverts the active level of the pin selected in PINTSELn. Read 0: interrupt is not being requested for this interrupt pin. Write 0: no operation. Read 1: interrupt is being requested for this interrupt pin. Write 1 (edge-sensitive): clear rising- and falling-edge detection for this pin. Write 1 (level-sensitive): switch the active level for this pin (in the PINTENT_F register). 2 3 PSTAT3 Pin interrupt status. Bit n returns the status, clears the edge interrupt, or inverts the active level of the pin selected in PINTSELn. Read 0: interrupt is not being requested for this interrupt pin. Write 0: no operation. Read 1: interrupt is being requested for this interrupt pin. Write 1 (edge-sensitive): clear rising- and falling-edge detection for this pin. Write 1 (level-sensitive): switch the active level for this pin (in the PINTENT_F register). 3 4 PSTAT4 Pin interrupt status. Bit n returns the status, clears the edge interrupt, or inverts the active level of the pin selected in PINTSELn. Read 0: interrupt is not being requested for this interrupt pin. Write 0: no operation. Read 1: interrupt is being requested for this interrupt pin. Write 1 (edge-sensitive): clear rising- and falling-edge detection for this pin. Write 1 (level-sensitive): switch the active level for this pin (in the PINTENT_F register). 4 5 PSTAT5 Pin interrupt status. Bit n returns the status, clears the edge interrupt, or inverts the active level of the pin selected in PINTSELn. Read 0: interrupt is not being requested for this interrupt pin. Write 0: no operation. Read 1: interrupt is being requested for this interrupt pin. Write 1 (edge-sensitive): clear rising- and falling-edge detection for this pin. Write 1 (level-sensitive): switch the active level for this pin (in the PINTENT_F register). 5 6 PSTAT6 Pin interrupt status. Bit n returns the status, clears the edge interrupt, or inverts the active level of the pin selected in PINTSELn. Read 0: interrupt is not being requested for this interrupt pin. Write 0: no operation. Read 1: interrupt is being requested for this interrupt pin. Write 1 (edge-sensitive): clear rising- and falling-edge detection for this pin. Write 1 (level-sensitive): switch the active level for this pin (in the PINTENT_F register). 6 7 PSTAT7 Pin interrupt status. Bit n returns the status, clears the edge interrupt, or inverts the active level of the pin selected in PINTSELn. Read 0: interrupt is not being requested for this interrupt pin. Write 0: no operation. Read 1: interrupt is being requested for this interrupt pin. Write 1 (edge-sensitive): clear rising- and falling-edge detection for this pin. Write 1 (level-sensitive): switch the active level for this pin (in the PINTENT_F register). 7 8 RESERVED Reserved. 8 32 RISE Pin Interrupt Rising Edge register 0x1C read-write n 0x0 0x0 RDET0 Rising edge detect. Bit n detects the rising edge of the pin selected in PINTSELn. Read 0: No rising edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a rising edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear rising edge detection for this pin. 0 1 RDET1 Rising edge detect. Bit n detects the rising edge of the pin selected in PINTSELn. Read 0: No rising edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a rising edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear rising edge detection for this pin. 1 2 RDET2 Rising edge detect. Bit n detects the rising edge of the pin selected in PINTSELn. Read 0: No rising edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a rising edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear rising edge detection for this pin. 2 3 RDET3 Rising edge detect. Bit n detects the rising edge of the pin selected in PINTSELn. Read 0: No rising edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a rising edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear rising edge detection for this pin. 3 4 RDET4 Rising edge detect. Bit n detects the rising edge of the pin selected in PINTSELn. Read 0: No rising edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a rising edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear rising edge detection for this pin. 4 5 RDET5 Rising edge detect. Bit n detects the rising edge of the pin selected in PINTSELn. Read 0: No rising edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a rising edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear rising edge detection for this pin. 5 6 RDET6 Rising edge detect. Bit n detects the rising edge of the pin selected in PINTSELn. Read 0: No rising edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a rising edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear rising edge detection for this pin. 6 7 RDET7 Rising edge detect. Bit n detects the rising edge of the pin selected in PINTSELn. Read 0: No rising edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a rising edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear rising edge detection for this pin. 7 8 RESERVED Reserved. 8 32 SIENF Set Pin Interrupt Enable Falling Edge / Active Level register 0x14 write-only n 0x0 0x0 RESERVED Reserved. 8 32 SETENAF0 Ones written to this address set bits in the IENF, thus enabling interrupts. Bit n sets bit n in the IENF register. 0 = No operation. 1 = Select HIGH-active interrupt or enable falling edge interrupt. 0 1 SETENAF1 Ones written to this address set bits in the IENF, thus enabling interrupts. Bit n sets bit n in the IENF register. 0 = No operation. 1 = Select HIGH-active interrupt or enable falling edge interrupt. 1 2 SETENAF2 Ones written to this address set bits in the IENF, thus enabling interrupts. Bit n sets bit n in the IENF register. 0 = No operation. 1 = Select HIGH-active interrupt or enable falling edge interrupt. 2 3 SETENAF3 Ones written to this address set bits in the IENF, thus enabling interrupts. Bit n sets bit n in the IENF register. 0 = No operation. 1 = Select HIGH-active interrupt or enable falling edge interrupt. 3 4 SETENAF4 Ones written to this address set bits in the IENF, thus enabling interrupts. Bit n sets bit n in the IENF register. 0 = No operation. 1 = Select HIGH-active interrupt or enable falling edge interrupt. 4 5 SETENAF5 Ones written to this address set bits in the IENF, thus enabling interrupts. Bit n sets bit n in the IENF register. 0 = No operation. 1 = Select HIGH-active interrupt or enable falling edge interrupt. 5 6 SETENAF6 Ones written to this address set bits in the IENF, thus enabling interrupts. Bit n sets bit n in the IENF register. 0 = No operation. 1 = Select HIGH-active interrupt or enable falling edge interrupt. 6 7 SETENAF7 Ones written to this address set bits in the IENF, thus enabling interrupts. Bit n sets bit n in the IENF register. 0 = No operation. 1 = Select HIGH-active interrupt or enable falling edge interrupt. 7 8 SIENR Set Pin Interrupt Enable (Rising) register 0x8 write-only n 0x0 0x0 RESERVED Reserved. 8 32 SETENRL0 Ones written to this address set bits in the PINTEN_R, thus enabling interrupts. Bit n sets bit n in the PINTEN_R register. 0 = No operation. 1 = Enable rising edge or level interrupt. 0 1 SETENRL1 Ones written to this address set bits in the PINTEN_R, thus enabling interrupts. Bit n sets bit n in the PINTEN_R register. 0 = No operation. 1 = Enable rising edge or level interrupt. 1 2 SETENRL2 Ones written to this address set bits in the PINTEN_R, thus enabling interrupts. Bit n sets bit n in the PINTEN_R register. 0 = No operation. 1 = Enable rising edge or level interrupt. 2 3 SETENRL3 Ones written to this address set bits in the PINTEN_R, thus enabling interrupts. Bit n sets bit n in the PINTEN_R register. 0 = No operation. 1 = Enable rising edge or level interrupt. 3 4 SETENRL4 Ones written to this address set bits in the PINTEN_R, thus enabling interrupts. Bit n sets bit n in the PINTEN_R register. 0 = No operation. 1 = Enable rising edge or level interrupt. 4 5 SETENRL5 Ones written to this address set bits in the PINTEN_R, thus enabling interrupts. Bit n sets bit n in the PINTEN_R register. 0 = No operation. 1 = Enable rising edge or level interrupt. 5 6 SETENRL6 Ones written to this address set bits in the PINTEN_R, thus enabling interrupts. Bit n sets bit n in the PINTEN_R register. 0 = No operation. 1 = Enable rising edge or level interrupt. 6 7 SETENRL7 Ones written to this address set bits in the PINTEN_R, thus enabling interrupts. Bit n sets bit n in the PINTEN_R register. 0 = No operation. 1 = Enable rising edge or level interrupt. 7 8 GPIO_PORT GPIO port GPIO_PORT 0x0 0x0 0xFFFFF registers n B0 B0 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x0 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B1 B1 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x1 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B10 B10 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0xA 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B11 B11 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0xB 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B12 B12 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0xC 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B13 B13 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0xD 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B14 B14 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0xE 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B15 B15 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0xF 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B16 B16 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x10 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B17 B17 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x11 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B18 B18 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x12 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B19 B19 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x13 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B2 B2 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x2 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B20 B20 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x14 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B21 B21 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x15 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B22 B22 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x16 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B23 B23 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x17 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B24 B24 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x18 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B25 B25 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x19 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B26 B26 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x1A 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B27 B27 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x1B 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B28 B28 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x1C 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B29 B29 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x1D 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B3 B3 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x3 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B30 B30 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x1E 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B31 B31 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x1F 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B32 B32 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x20 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B33 B33 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x21 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B34 B34 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x22 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B35 B35 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x23 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B36 B36 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x24 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B37 B37 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x25 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B38 B38 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x26 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B39 B39 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x27 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B4 B4 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x4 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B40 B40 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x28 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B41 B41 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x29 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B42 B42 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x2A 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B43 B43 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x2B 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B44 B44 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x2C 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B45 B45 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x2D 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B46 B46 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x2E 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B47 B47 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x2F 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B48 B48 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x30 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B49 B49 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x31 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B5 B5 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x5 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B50 B50 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x32 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B51 B51 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x33 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B52 B52 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x34 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B53 B53 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x35 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B54 B54 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x36 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B55 B55 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x37 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B56 B56 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x38 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B57 B57 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x39 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B58 B58 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x3A 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B59 B59 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x3B 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B6 B6 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x6 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B60 B60 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x3C 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B61 B61 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x3D 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B62 B62 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x3E 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B63 B63 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x3F 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B7 B7 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x7 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B8 B8 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x8 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B9 B9 Byte pin registers port 0/1 pins PIO0/1_0 to PIO0/1_31 0x9 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[0] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x0 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[10] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x37 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[11] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x42 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[12] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x4E 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[13] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x5B 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[14] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x69 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[15] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x78 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[16] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x88 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[17] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x99 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[18] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0xAB 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[19] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0xBE 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[1] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x1 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[20] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0xD2 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[21] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0xE7 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[22] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0xFD 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[23] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x114 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[24] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x12C 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[25] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x145 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[26] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x15F 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[27] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x17A 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[28] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x196 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[29] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x1B3 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[2] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x3 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[30] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x1D1 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[31] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x1F0 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[32] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x210 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[33] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x231 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[34] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x253 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[35] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x276 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[36] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x29A 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[37] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x2BF 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[38] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x2E5 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[39] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x30C 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[3] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x6 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[40] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x334 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[41] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x35D 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[42] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x387 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[43] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x3B2 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[44] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x3DE 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[45] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x40B 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[46] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x439 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[47] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x468 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[48] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x498 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[49] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x4C9 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[4] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0xA 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[50] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x4FB 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[51] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x52E 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[52] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x562 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[53] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x597 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[54] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x5CD 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[55] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x604 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[56] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x63C 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[57] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x675 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[58] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x6AF 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[59] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x6EA 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[5] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0xF 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[60] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x726 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[61] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x763 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[62] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x7A1 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[63] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x7E0 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[6] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x15 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[7] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x1C 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[8] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x24 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 B[9] B[%s] Byte pin registers port 0/1; pins PIO0/1_0 to PIO0/1_31 0x2D 8 read-write n 0x0 0x0 PBYTE Read: state of the pin P0/1_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin's output bit. 0 1 CLR0 Clear port 0/1 0x2280 -1 write-only n 0x0 0x0 CLRP00 Clear output bits: 0 = No operation. 1 = Clear output bit. 0 1 CLRP01 Clear output bits: 0 = No operation. 1 = Clear output bit. 1 2 CLRP010 Clear output bits: 0 = No operation. 1 = Clear output bit. 10 11 CLRP011 Clear output bits: 0 = No operation. 1 = Clear output bit. 11 12 CLRP012 Clear output bits: 0 = No operation. 1 = Clear output bit. 12 13 CLRP013 Clear output bits: 0 = No operation. 1 = Clear output bit. 13 14 CLRP014 Clear output bits: 0 = No operation. 1 = Clear output bit. 14 15 CLRP015 Clear output bits: 0 = No operation. 1 = Clear output bit. 15 16 CLRP016 Clear output bits: 0 = No operation. 1 = Clear output bit. 16 17 CLRP017 Clear output bits: 0 = No operation. 1 = Clear output bit. 17 18 CLRP018 Clear output bits: 0 = No operation. 1 = Clear output bit. 18 19 CLRP019 Clear output bits: 0 = No operation. 1 = Clear output bit. 19 20 CLRP02 Clear output bits: 0 = No operation. 1 = Clear output bit. 2 3 CLRP020 Clear output bits: 0 = No operation. 1 = Clear output bit. 20 21 CLRP021 Clear output bits: 0 = No operation. 1 = Clear output bit. 21 22 CLRP022 Clear output bits: 0 = No operation. 1 = Clear output bit. 22 23 CLRP023 Clear output bits: 0 = No operation. 1 = Clear output bit. 23 24 CLRP024 Clear output bits: 0 = No operation. 1 = Clear output bit. 24 25 CLRP025 Clear output bits: 0 = No operation. 1 = Clear output bit. 25 26 CLRP026 Clear output bits: 0 = No operation. 1 = Clear output bit. 26 27 CLRP027 Clear output bits: 0 = No operation. 1 = Clear output bit. 27 28 CLRP028 Clear output bits: 0 = No operation. 1 = Clear output bit. 28 29 CLRP029 Clear output bits: 0 = No operation. 1 = Clear output bit. 29 30 CLRP03 Clear output bits: 0 = No operation. 1 = Clear output bit. 3 4 CLRP030 Clear output bits: 0 = No operation. 1 = Clear output bit. 30 31 CLRP031 Clear output bits: 0 = No operation. 1 = Clear output bit. 31 32 CLRP04 Clear output bits: 0 = No operation. 1 = Clear output bit. 4 5 CLRP05 Clear output bits: 0 = No operation. 1 = Clear output bit. 5 6 CLRP06 Clear output bits: 0 = No operation. 1 = Clear output bit. 6 7 CLRP07 Clear output bits: 0 = No operation. 1 = Clear output bit. 7 8 CLRP08 Clear output bits: 0 = No operation. 1 = Clear output bit. 8 9 CLRP09 Clear output bits: 0 = No operation. 1 = Clear output bit. 9 10 CLR1 Clear port 0/1 0x2284 -1 write-only n 0x0 0x0 CLRP00 Clear output bits: 0 = No operation. 1 = Clear output bit. 0 1 CLRP01 Clear output bits: 0 = No operation. 1 = Clear output bit. 1 2 CLRP010 Clear output bits: 0 = No operation. 1 = Clear output bit. 10 11 CLRP011 Clear output bits: 0 = No operation. 1 = Clear output bit. 11 12 CLRP012 Clear output bits: 0 = No operation. 1 = Clear output bit. 12 13 CLRP013 Clear output bits: 0 = No operation. 1 = Clear output bit. 13 14 CLRP014 Clear output bits: 0 = No operation. 1 = Clear output bit. 14 15 CLRP015 Clear output bits: 0 = No operation. 1 = Clear output bit. 15 16 CLRP016 Clear output bits: 0 = No operation. 1 = Clear output bit. 16 17 CLRP017 Clear output bits: 0 = No operation. 1 = Clear output bit. 17 18 CLRP018 Clear output bits: 0 = No operation. 1 = Clear output bit. 18 19 CLRP019 Clear output bits: 0 = No operation. 1 = Clear output bit. 19 20 CLRP02 Clear output bits: 0 = No operation. 1 = Clear output bit. 2 3 CLRP020 Clear output bits: 0 = No operation. 1 = Clear output bit. 20 21 CLRP021 Clear output bits: 0 = No operation. 1 = Clear output bit. 21 22 CLRP022 Clear output bits: 0 = No operation. 1 = Clear output bit. 22 23 CLRP023 Clear output bits: 0 = No operation. 1 = Clear output bit. 23 24 CLRP024 Clear output bits: 0 = No operation. 1 = Clear output bit. 24 25 CLRP025 Clear output bits: 0 = No operation. 1 = Clear output bit. 25 26 CLRP026 Clear output bits: 0 = No operation. 1 = Clear output bit. 26 27 CLRP027 Clear output bits: 0 = No operation. 1 = Clear output bit. 27 28 CLRP028 Clear output bits: 0 = No operation. 1 = Clear output bit. 28 29 CLRP029 Clear output bits: 0 = No operation. 1 = Clear output bit. 29 30 CLRP03 Clear output bits: 0 = No operation. 1 = Clear output bit. 3 4 CLRP030 Clear output bits: 0 = No operation. 1 = Clear output bit. 30 31 CLRP031 Clear output bits: 0 = No operation. 1 = Clear output bit. 31 32 CLRP04 Clear output bits: 0 = No operation. 1 = Clear output bit. 4 5 CLRP05 Clear output bits: 0 = No operation. 1 = Clear output bit. 5 6 CLRP06 Clear output bits: 0 = No operation. 1 = Clear output bit. 6 7 CLRP07 Clear output bits: 0 = No operation. 1 = Clear output bit. 7 8 CLRP08 Clear output bits: 0 = No operation. 1 = Clear output bit. 8 9 CLRP09 Clear output bits: 0 = No operation. 1 = Clear output bit. 9 10 DIR0 Direction registers port 0/1 0x2000 -1 read-write n 0x0 0x0 DIRP0 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 0 1 DIRP1 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 1 2 DIRP10 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 10 11 DIRP11 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 11 12 DIRP12 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 12 13 DIRP13 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 13 14 DIRP14 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 14 15 DIRP15 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 15 16 DIRP16 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 16 17 DIRP17 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 17 18 DIRP18 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 18 19 DIRP19 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 19 20 DIRP2 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 2 3 DIRP20 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 20 21 DIRP21 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 21 22 DIRP22 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 22 23 DIRP23 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 23 24 DIRP24 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 24 25 DIRP25 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 25 26 DIRP26 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 26 27 DIRP27 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 27 28 DIRP28 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 28 29 DIRP29 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 29 30 DIRP3 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 3 4 DIRP30 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 30 31 DIRP31 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 31 32 DIRP4 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 4 5 DIRP5 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 5 6 DIRP6 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 6 7 DIRP7 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 7 8 DIRP8 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 8 9 DIRP9 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 9 10 DIR1 Direction registers port 0/1 0x2004 -1 read-write n 0x0 0x0 DIRP0 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 0 1 DIRP1 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 1 2 DIRP10 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 10 11 DIRP11 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 11 12 DIRP12 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 12 13 DIRP13 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 13 14 DIRP14 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 14 15 DIRP15 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 15 16 DIRP16 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 16 17 DIRP17 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 17 18 DIRP18 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 18 19 DIRP19 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 19 20 DIRP2 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 2 3 DIRP20 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 20 21 DIRP21 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 21 22 DIRP22 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 22 23 DIRP23 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 23 24 DIRP24 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 24 25 DIRP25 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 25 26 DIRP26 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 26 27 DIRP27 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 27 28 DIRP28 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 28 29 DIRP29 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 29 30 DIRP3 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 3 4 DIRP30 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 30 31 DIRP31 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 31 32 DIRP4 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 4 5 DIRP5 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 5 6 DIRP6 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 6 7 DIRP7 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 7 8 DIRP8 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 8 9 DIRP9 Selects pin direction for pin P0/1_n (bit 0 = P0/1_0, bit 1 = P0_1, ..., bit 31 = P0/1_31). 0 = input. 1 = output. 9 10 MASK0 Mask register port 0/1 0x2080 -1 read-write n 0x0 0x0 MASKP0 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 0 1 MASKP1 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 1 2 MASKP10 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 10 11 MASKP11 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 11 12 MASKP12 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 12 13 MASKP13 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 13 14 MASKP14 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 14 15 MASKP15 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 15 16 MASKP16 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 16 17 MASKP17 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 17 18 MASKP18 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 18 19 MASKP19 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 19 20 MASKP2 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 2 3 MASKP20 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 20 21 MASKP21 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 21 22 MASKP22 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 22 23 MASKP23 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 23 24 MASKP24 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 24 25 MASKP25 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 25 26 MASKP26 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 26 27 MASKP27 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 27 28 MASKP28 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 28 29 MASKP29 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 29 30 MASKP3 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 3 4 MASKP30 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 30 31 MASKP31 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 31 32 MASKP4 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 4 5 MASKP5 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 5 6 MASKP6 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 6 7 MASKP7 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 7 8 MASKP8 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 8 9 MASKP9 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 9 10 MASK1 Mask register port 0/1 0x2084 -1 read-write n 0x0 0x0 MASKP0 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 0 1 MASKP1 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 1 2 MASKP10 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 10 11 MASKP11 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 11 12 MASKP12 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 12 13 MASKP13 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 13 14 MASKP14 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 14 15 MASKP15 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 15 16 MASKP16 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 16 17 MASKP17 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 17 18 MASKP18 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 18 19 MASKP19 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 19 20 MASKP2 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 2 3 MASKP20 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 20 21 MASKP21 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 21 22 MASKP22 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 22 23 MASKP23 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 23 24 MASKP24 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 24 25 MASKP25 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 25 26 MASKP26 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 26 27 MASKP27 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 27 28 MASKP28 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 28 29 MASKP29 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 29 30 MASKP3 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 3 4 MASKP30 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 30 31 MASKP31 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 31 32 MASKP4 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 4 5 MASKP5 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 5 6 MASKP6 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 6 7 MASKP7 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 7 8 MASKP8 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 8 9 MASKP9 Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read MPORT: pin state write MPORT: load output bit. 1 = Read MPORT: 0 write MPORT: output bit not affected. 9 10 MPIN0 Masked port register port 0/1 0x2180 -1 read-write n 0x0 0x0 MPORTP0 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 0 1 MPORTP1 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 1 2 MPORTP10 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 10 11 MPORTP11 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 11 12 MPORTP12 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 12 13 MPORTP13 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 13 14 MPORTP14 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 14 15 MPORTP15 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 15 16 MPORTP16 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 16 17 MPORTP17 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 17 18 MPORTP18 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 18 19 MPORTP19 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 19 20 MPORTP2 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 2 3 MPORTP20 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 20 21 MPORTP21 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 21 22 MPORTP22 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 22 23 MPORTP23 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 23 24 MPORTP24 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 24 25 MPORTP25 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 25 26 MPORTP26 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 26 27 MPORTP27 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 27 28 MPORTP28 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 28 29 MPORTP29 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 29 30 MPORTP3 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 3 4 MPORTP30 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 30 31 MPORTP31 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 31 32 MPORTP4 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 4 5 MPORTP5 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 5 6 MPORTP6 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 6 7 MPORTP7 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 7 8 MPORTP8 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 8 9 MPORTP9 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 9 10 MPIN1 Masked port register port 0/1 0x2184 -1 read-write n 0x0 0x0 MPORTP0 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 0 1 MPORTP1 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 1 2 MPORTP10 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 10 11 MPORTP11 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 11 12 MPORTP12 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 12 13 MPORTP13 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 13 14 MPORTP14 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 14 15 MPORTP15 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 15 16 MPORTP16 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 16 17 MPORTP17 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 17 18 MPORTP18 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 18 19 MPORTP19 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 19 20 MPORTP2 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 2 3 MPORTP20 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 20 21 MPORTP21 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 21 22 MPORTP22 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 22 23 MPORTP23 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 23 24 MPORTP24 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 24 25 MPORTP25 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 25 26 MPORTP26 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 26 27 MPORTP27 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 27 28 MPORTP28 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 28 29 MPORTP29 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 29 30 MPORTP3 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 3 4 MPORTP30 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 30 31 MPORTP31 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 31 32 MPORTP4 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 4 5 MPORTP5 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 5 6 MPORTP6 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 6 7 MPORTP7 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 7 8 MPORTP8 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 8 9 MPORTP9 Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1 write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0 write: set output bit if the corresponding bit in the MASK register is 0. 9 10 NOT0 Toggle port 0/1 0x2300 -1 write-only n 0x0 0x0 NOTP0 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 0 1 NOTP1 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 1 2 NOTP10 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 10 11 NOTP11 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 11 12 NOTP12 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 12 13 NOTP13 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 13 14 NOTP14 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 14 15 NOTP15 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 15 16 NOTP16 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 16 17 NOTP17 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 17 18 NOTP18 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 18 19 NOTP19 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 19 20 NOTP2 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 2 3 NOTP20 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 20 21 NOTP21 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 21 22 NOTP22 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 22 23 NOTP23 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 23 24 NOTP24 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 24 25 NOTP25 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 25 26 NOTP26 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 26 27 NOTP27 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 27 28 NOTP28 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 28 29 NOTP29 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 29 30 NOTP3 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 3 4 NOTP30 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 30 31 NOTP31 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 31 32 NOTP4 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 4 5 NOTP5 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 5 6 NOTP6 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 6 7 NOTP7 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 7 8 NOTP8 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 8 9 NOTP9 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 9 10 NOT1 Toggle port 0/1 0x2304 -1 write-only n 0x0 0x0 NOTP0 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 0 1 NOTP1 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 1 2 NOTP10 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 10 11 NOTP11 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 11 12 NOTP12 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 12 13 NOTP13 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 13 14 NOTP14 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 14 15 NOTP15 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 15 16 NOTP16 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 16 17 NOTP17 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 17 18 NOTP18 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 18 19 NOTP19 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 19 20 NOTP2 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 2 3 NOTP20 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 20 21 NOTP21 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 21 22 NOTP22 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 22 23 NOTP23 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 23 24 NOTP24 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 24 25 NOTP25 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 25 26 NOTP26 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 26 27 NOTP27 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 27 28 NOTP28 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 28 29 NOTP29 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 29 30 NOTP3 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 3 4 NOTP30 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 30 31 NOTP31 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 31 32 NOTP4 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 4 5 NOTP5 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 5 6 NOTP6 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 6 7 NOTP7 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 7 8 NOTP8 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 8 9 NOTP9 Toggle output bits: 0 = no operation. 1 = Toggle output bit. 9 10 PIN0 Portpin register port 0 0x2100 -1 read-write n 0x0 0x0 PORT0 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 0 1 PORT1 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 1 2 PORT10 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 10 11 PORT11 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 11 12 PORT12 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 12 13 PORT13 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 13 14 PORT14 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 14 15 PORT15 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 15 16 PORT16 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 16 17 PORT17 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 17 18 PORT18 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 18 19 PORT19 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 19 20 PORT2 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 2 3 PORT20 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 20 21 PORT21 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 21 22 PORT22 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 22 23 PORT23 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 23 24 PORT24 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 24 25 PORT25 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 25 26 PORT26 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 26 27 PORT27 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 27 28 PORT28 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 28 29 PORT29 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 29 30 PORT3 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 3 4 PORT30 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 30 31 PORT31 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 31 32 PORT4 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 4 5 PORT5 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 5 6 PORT6 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 6 7 PORT7 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 7 8 PORT8 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 8 9 PORT9 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 9 10 PIN1 Portpin register port 0 0x2104 -1 read-write n 0x0 0x0 PORT0 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 0 1 PORT1 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 1 2 PORT10 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 10 11 PORT11 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 11 12 PORT12 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 12 13 PORT13 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 13 14 PORT14 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 14 15 PORT15 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 15 16 PORT16 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 16 17 PORT17 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 17 18 PORT18 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 18 19 PORT19 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 19 20 PORT2 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 2 3 PORT20 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 20 21 PORT21 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 21 22 PORT22 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 22 23 PORT23 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 23 24 PORT24 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 24 25 PORT25 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 25 26 PORT26 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 26 27 PORT27 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 27 28 PORT28 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 28 29 PORT29 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 29 30 PORT3 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 3 4 PORT30 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 30 31 PORT31 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 31 32 PORT4 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 4 5 PORT5 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 5 6 PORT6 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 6 7 PORT7 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 7 8 PORT8 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 8 9 PORT9 Reads pin states or loads output bits (bit 0 = P0/1_0, bit 1 = P0/1_1, ..., bit 31 = P0/1_31). 0 = Read: pin is low write: clear output bit. 1 = Read: pin is high write: set output bit. 9 10 SET0 Write: Set register for port 0/1 Read: output bits for port 0/1 0x2200 -1 read-write n 0x0 0x0 SETP0 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 0 1 SETP1 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 1 2 SETP10 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 10 11 SETP11 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 11 12 SETP12 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 12 13 SETP13 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 13 14 SETP14 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 14 15 SETP15 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 15 16 SETP16 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 16 17 SETP17 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 17 18 SETP18 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 18 19 SETP19 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 19 20 SETP2 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 2 3 SETP20 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 20 21 SETP21 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 21 22 SETP22 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 22 23 SETP23 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 23 24 SETP24 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 24 25 SETP25 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 25 26 SETP26 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 26 27 SETP27 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 27 28 SETP28 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 28 29 SETP29 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 29 30 SETP3 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 3 4 SETP30 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 30 31 SETP31 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 31 32 SETP4 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 4 5 SETP5 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 5 6 SETP6 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 6 7 SETP7 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 7 8 SETP8 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 8 9 SETP9 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 9 10 SET1 Write: Set register for port 0/1 Read: output bits for port 0/1 0x2204 -1 read-write n 0x0 0x0 SETP0 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 0 1 SETP1 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 1 2 SETP10 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 10 11 SETP11 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 11 12 SETP12 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 12 13 SETP13 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 13 14 SETP14 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 14 15 SETP15 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 15 16 SETP16 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 16 17 SETP17 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 17 18 SETP18 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 18 19 SETP19 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 19 20 SETP2 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 2 3 SETP20 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 20 21 SETP21 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 21 22 SETP22 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 22 23 SETP23 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 23 24 SETP24 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 24 25 SETP25 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 25 26 SETP26 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 26 27 SETP27 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 27 28 SETP28 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 28 29 SETP29 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 29 30 SETP3 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 3 4 SETP30 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 30 31 SETP31 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 31 32 SETP4 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 4 5 SETP5 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 5 6 SETP6 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 6 7 SETP7 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 7 8 SETP8 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 8 9 SETP9 Read or set output bits. 0 = Read: output bit: write: no operation. 1 = Read: output bit write: set output bit. 9 10 W0 W0 Word pin registers port 0/1 0x1000 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W1 W1 Word pin registers port 0/1 0x1004 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W10 W10 Word pin registers port 0/1 0x1028 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W11 W11 Word pin registers port 0/1 0x102C -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W12 W12 Word pin registers port 0/1 0x1030 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W13 W13 Word pin registers port 0/1 0x1034 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W14 W14 Word pin registers port 0/1 0x1038 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W15 W15 Word pin registers port 0/1 0x103C -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W16 W16 Word pin registers port 0/1 0x1040 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W17 W17 Word pin registers port 0/1 0x1044 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W18 W18 Word pin registers port 0/1 0x1048 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W19 W19 Word pin registers port 0/1 0x104C -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W2 W2 Word pin registers port 0/1 0x1008 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W20 W20 Word pin registers port 0/1 0x1050 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W21 W21 Word pin registers port 0/1 0x1054 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W22 W22 Word pin registers port 0/1 0x1058 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W23 W23 Word pin registers port 0/1 0x105C -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W24 W24 Word pin registers port 0/1 0x1060 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W25 W25 Word pin registers port 0/1 0x1064 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W26 W26 Word pin registers port 0/1 0x1068 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W27 W27 Word pin registers port 0/1 0x106C -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W28 W28 Word pin registers port 0/1 0x1070 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W29 W29 Word pin registers port 0/1 0x1074 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W3 W3 Word pin registers port 0/1 0x100C -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W30 W30 Word pin registers port 0/1 0x1078 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W31 W31 Word pin registers port 0/1 0x107C -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W32 W32 Word pin registers port 0/1 0x1080 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W33 W33 Word pin registers port 0/1 0x1084 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W34 W34 Word pin registers port 0/1 0x1088 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W35 W35 Word pin registers port 0/1 0x108C -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W36 W36 Word pin registers port 0/1 0x1090 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W37 W37 Word pin registers port 0/1 0x1094 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W38 W38 Word pin registers port 0/1 0x1098 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W39 W39 Word pin registers port 0/1 0x109C -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W4 W4 Word pin registers port 0/1 0x1010 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W40 W40 Word pin registers port 0/1 0x10A0 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W41 W41 Word pin registers port 0/1 0x10A4 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W42 W42 Word pin registers port 0/1 0x10A8 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W43 W43 Word pin registers port 0/1 0x10AC -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W44 W44 Word pin registers port 0/1 0x10B0 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W45 W45 Word pin registers port 0/1 0x10B4 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W46 W46 Word pin registers port 0/1 0x10B8 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W47 W47 Word pin registers port 0/1 0x10BC -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W48 W48 Word pin registers port 0/1 0x10C0 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W49 W49 Word pin registers port 0/1 0x10C4 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W5 W5 Word pin registers port 0/1 0x1014 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W50 W50 Word pin registers port 0/1 0x10C8 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W51 W51 Word pin registers port 0/1 0x10CC -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W52 W52 Word pin registers port 0/1 0x10D0 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W53 W53 Word pin registers port 0/1 0x10D4 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W54 W54 Word pin registers port 0/1 0x10D8 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W55 W55 Word pin registers port 0/1 0x10DC -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W56 W56 Word pin registers port 0/1 0x10E0 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W57 W57 Word pin registers port 0/1 0x10E4 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W58 W58 Word pin registers port 0/1 0x10E8 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W59 W59 Word pin registers port 0/1 0x10EC -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W6 W6 Word pin registers port 0/1 0x1018 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W60 W60 Word pin registers port 0/1 0x10F0 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W61 W61 Word pin registers port 0/1 0x10F4 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W62 W62 Word pin registers port 0/1 0x10F8 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W63 W63 Word pin registers port 0/1 0x10FC -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W7 W7 Word pin registers port 0/1 0x101C -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W8 W8 Word pin registers port 0/1 0x1020 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W9 W9 Word pin registers port 0/1 0x1024 -1 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[0] W[%s] Word pin registers port 0/1 0x2000 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[10] W[%s] Word pin registers port 0/1 0xC0DC read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[11] W[%s] Word pin registers port 0/1 0xD108 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[12] W[%s] Word pin registers port 0/1 0xE138 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[13] W[%s] Word pin registers port 0/1 0xF16C read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[14] W[%s] Word pin registers port 0/1 0x101A4 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[15] W[%s] Word pin registers port 0/1 0x111E0 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[16] W[%s] Word pin registers port 0/1 0x12220 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[17] W[%s] Word pin registers port 0/1 0x13264 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[18] W[%s] Word pin registers port 0/1 0x142AC read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[19] W[%s] Word pin registers port 0/1 0x152F8 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[1] W[%s] Word pin registers port 0/1 0x3004 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[20] W[%s] Word pin registers port 0/1 0x16348 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[21] W[%s] Word pin registers port 0/1 0x1739C read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[22] W[%s] Word pin registers port 0/1 0x183F4 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[23] W[%s] Word pin registers port 0/1 0x19450 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[24] W[%s] Word pin registers port 0/1 0x1A4B0 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[25] W[%s] Word pin registers port 0/1 0x1B514 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[26] W[%s] Word pin registers port 0/1 0x1C57C read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[27] W[%s] Word pin registers port 0/1 0x1D5E8 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[28] W[%s] Word pin registers port 0/1 0x1E658 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[29] W[%s] Word pin registers port 0/1 0x1F6CC read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[2] W[%s] Word pin registers port 0/1 0x400C read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[30] W[%s] Word pin registers port 0/1 0x20744 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[31] W[%s] Word pin registers port 0/1 0x217C0 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[32] W[%s] Word pin registers port 0/1 0x22840 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[33] W[%s] Word pin registers port 0/1 0x238C4 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[34] W[%s] Word pin registers port 0/1 0x2494C read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[35] W[%s] Word pin registers port 0/1 0x259D8 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[36] W[%s] Word pin registers port 0/1 0x26A68 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[37] W[%s] Word pin registers port 0/1 0x27AFC read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[38] W[%s] Word pin registers port 0/1 0x28B94 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[39] W[%s] Word pin registers port 0/1 0x29C30 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[3] W[%s] Word pin registers port 0/1 0x5018 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[40] W[%s] Word pin registers port 0/1 0x2ACD0 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[41] W[%s] Word pin registers port 0/1 0x2BD74 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[42] W[%s] Word pin registers port 0/1 0x2CE1C read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[43] W[%s] Word pin registers port 0/1 0x2DEC8 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[44] W[%s] Word pin registers port 0/1 0x2EF78 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[45] W[%s] Word pin registers port 0/1 0x3002C read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[46] W[%s] Word pin registers port 0/1 0x310E4 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[47] W[%s] Word pin registers port 0/1 0x321A0 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[48] W[%s] Word pin registers port 0/1 0x33260 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[49] W[%s] Word pin registers port 0/1 0x34324 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[4] W[%s] Word pin registers port 0/1 0x6028 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[50] W[%s] Word pin registers port 0/1 0x353EC read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[51] W[%s] Word pin registers port 0/1 0x364B8 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[52] W[%s] Word pin registers port 0/1 0x37588 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[53] W[%s] Word pin registers port 0/1 0x3865C read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[54] W[%s] Word pin registers port 0/1 0x39734 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[55] W[%s] Word pin registers port 0/1 0x3A810 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[56] W[%s] Word pin registers port 0/1 0x3B8F0 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[57] W[%s] Word pin registers port 0/1 0x3C9D4 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[58] W[%s] Word pin registers port 0/1 0x3DABC read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[59] W[%s] Word pin registers port 0/1 0x3EBA8 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[5] W[%s] Word pin registers port 0/1 0x703C read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[60] W[%s] Word pin registers port 0/1 0x3FC98 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[61] W[%s] Word pin registers port 0/1 0x40D8C read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[62] W[%s] Word pin registers port 0/1 0x41E84 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[63] W[%s] Word pin registers port 0/1 0x42F80 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[6] W[%s] Word pin registers port 0/1 0x8054 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[7] W[%s] Word pin registers port 0/1 0x9070 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[8] W[%s] Word pin registers port 0/1 0xA090 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 W[9] W[%s] Word pin registers port 0/1 0xB0B4 read-write n 0x0 0x0 PWORD Read 0: pin is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. 0 32 I2C I2C I2C 0x0 0x0 0xFFF registers n I2C 15 ADR0 I2C Slave Address Register 0. Contains the 7-bit slave address for operation of the I2C interface in slave mode, and is not used in master mode. The least significant bit determines whether a slave responds to the General Call address. 0xC read-write n 0x0 0x0 Address The I2C device address for slave mode. 1 8 GC General Call enable bit. 0 1 RESERVED Reserved. The value read from a reserved bit is not defined. 8 32 ADR1 I2C Slave Address Register. Contains the 7-bit slave address for operation of the I2C interface in slave mode, and is not used in master mode. The least significant bit determines whether a slave responds to the General Call address. 0x20 -1 read-write n 0x0 0x0 Address The I2C device address for slave mode. 1 8 GC General Call enable bit. 0 1 RESERVED Reserved. The value read from a reserved bit is not defined. 8 32 ADR2 I2C Slave Address Register. Contains the 7-bit slave address for operation of the I2C interface in slave mode, and is not used in master mode. The least significant bit determines whether a slave responds to the General Call address. 0x24 -1 read-write n 0x0 0x0 Address The I2C device address for slave mode. 1 8 GC General Call enable bit. 0 1 RESERVED Reserved. The value read from a reserved bit is not defined. 8 32 ADR3 I2C Slave Address Register. Contains the 7-bit slave address for operation of the I2C interface in slave mode, and is not used in master mode. The least significant bit determines whether a slave responds to the General Call address. 0x28 -1 read-write n 0x0 0x0 Address The I2C device address for slave mode. 1 8 GC General Call enable bit. 0 1 RESERVED Reserved. The value read from a reserved bit is not defined. 8 32 CONCLR I2C Control Clear Register. When a one is written to a bit of this register, the corresponding bit in the I2C control register is cleared. Writing a zero has no effect on the corresponding bit in the I2C control register. 0x18 write-only n 0x0 0x0 AAC Assert acknowledge Clear bit. 2 3 I2ENC I2C interface Disable bit. 6 7 RESERVED Reserved. The value read from a reserved bit is not defined. 8 32 RESERVED Reserved. User software should not write ones to reserved bits. The value read from a reserved bit is not defined. 4 5 RESERVED Reserved. User software should not write ones to reserved bits. The value read from a reserved bit is not defined. 7 8 RESERVED Reserved. The value read from a reserved bit is not defined. 8 32 SIC I2C interrupt Clear bit. 3 4 STAC START flag Clear bit. 5 6 CONSET I2C Control Set Register. When a one is written to a bit of this register, the corresponding bit in the I2C control register is set. Writing a zero has no effect on the corresponding bit in the I2C control register. 0x0 read-write n 0x0 0x0 AA Assert acknowledge flag. 2 3 I2EN I2C interface enable. 6 7 RESERVED Reserved. The value read from a reserved bit is not defined. 7 32 RESERVED Reserved. The value read from a reserved bit is not defined. 7 32 SI I2C interrupt flag. 3 4 STA START flag. 5 6 STO STOP flag. 4 5 DAT I2C Data Register. During master or slave transmit mode, data to be transmitted is written to this register. During master or slave receive mode, data that has been received may be read from this register. 0x8 read-write n 0x0 0x0 Data This register holds data values that have been received or are to be transmitted. 0 8 RESERVED Reserved. The value read from a reserved bit is not defined. 8 32 DATA_BUFFER Data buffer register. The contents of the 8 MSBs of the I2DAT shift register will be transferred to the DATA_BUFFER automatically after every nine bits (8 bits of data plus ACK or NACK) has been received on the bus. 0x2C read-only n 0x0 0x0 Data This register holds contents of the 8 MSBs of the DAT shift register. 0 8 RESERVED Reserved. The value read from a reserved bit is not defined. 8 32 MASK0 I2C Slave address mask register. This mask register is associated with I2ADR0 to determine an address match. The mask register has no effect when comparing to the General Call address (0000000). 0x30 -1 read-write n 0x0 0x0 MASK Mask bits. 1 8 RESERVED Reserved. The value read from reserved bits is undefined. 8 32 RESERVED Reserved. The value read from reserved bits is undefined. 8 32 MASK1 I2C Slave address mask register. This mask register is associated with I2ADR0 to determine an address match. The mask register has no effect when comparing to the General Call address (0000000). 0x34 -1 read-write n 0x0 0x0 MASK Mask bits. 1 8 RESERVED Reserved. The value read from reserved bits is undefined. 8 32 RESERVED Reserved. The value read from reserved bits is undefined. 8 32 MASK2 I2C Slave address mask register. This mask register is associated with I2ADR0 to determine an address match. The mask register has no effect when comparing to the General Call address (0000000). 0x38 -1 read-write n 0x0 0x0 MASK Mask bits. 1 8 RESERVED Reserved. The value read from reserved bits is undefined. 8 32 RESERVED Reserved. The value read from reserved bits is undefined. 8 32 MASK3 I2C Slave address mask register. This mask register is associated with I2ADR0 to determine an address match. The mask register has no effect when comparing to the General Call address (0000000). 0x3C -1 read-write n 0x0 0x0 MASK Mask bits. 1 8 RESERVED Reserved. The value read from reserved bits is undefined. 8 32 RESERVED Reserved. The value read from reserved bits is undefined. 8 32 MMCTRL Monitor mode control register. 0x1C read-write n 0x0 0x0 ENA_SCL SCL output enable. 1 2 ENUM HIGH When this bit is cleared to 0, the SCL output will be forced high when the module is in monitor mode. As described above, this will prevent the module from having any control over the I2C clock line. 0 NORMAL When this bit is set, the I2C module may exercise the same control over the clock line that it would in normal operation. This means that, acting as a slave peripheral, the I2C module can stretch the clock line (hold it low) until it has had time to respond to an I2C interrupt.[1] 1 MATCH_ALL Select interrupt register match. 2 3 ENUM MATCH When this bit is cleared, an interrupt will only be generated when a match occurs to one of the (up-to) four address registers described above. That is, the module will respond as a normal slave as far as address-recognition is concerned. 0 ANYADDRESS When this bit is set to 1 and the I2C is in monitor mode, an interrupt will be generated on ANY address received. This will enable the part to monitor all traffic on the bus. 1 MM_ENA Monitor mode enable. 0 1 ENUM MONITOR_MODE_DISABLE Monitor mode disabled. 0 THE_I2C_MODULE_WILL_ The I2C module will enter monitor mode. In this mode the SDA output will be forced high. This will prevent the I2C module from outputting data of any kind (including ACK) onto the I 2C data bus. Depending on the state of the ENA_SCL bit, the output may be also forced high, preventing the module from having control over the I2C clock line. 1 RESERVED Reserved. The value read from reserved bits is not defined. 3 32 SCLH SCH Duty Cycle Register High Half Word. Determines the high time of the I2C clock. 0x10 read-write n 0x0 0x0 RESERVED Reserved. The value read from a reserved bit is not defined. 16 32 SCLH Count for SCL HIGH time period selection. 0 16 SCLL SCL Duty Cycle Register Low Half Word. Determines the low time of the I2C clock. I2nSCLL and I2nSCLH together determine the clock frequency generated by an I2C master and certain times used in slave mode. 0x14 read-write n 0x0 0x0 RESERVED Reserved. The value read from a reserved bit is not defined. 16 32 SCLL Count for SCL low time period selection. 0 16 STAT I2C Status Register. During I2C operation, this register provides detailed status codes that allow software to determine the next action needed. 0x4 read-only n 0x0 0x0 RESERVED Reserved. The value read from a reserved bit is not defined. 8 32 RESERVED Reserved. The value read from a reserved bit is not defined. 8 32 Status These bits give the actual status information about the I2C interface. 3 8 IOCON IO ocnfiguration IOCON 0x0 0x0 0xFFF registers n PIO0_1 I/O configuration for pin PIO0_1/CLKOUT/CT32B0_MAT2/ USB_FTOGGLE 0x4 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x4 to 0x7 are reserved. 0 3 ENUM PIO0_1_ PIO0_1. 0x0 CLKOUT_ CLKOUT. 0x1 CT32B0_MAT2_ CT32B0_MAT2. 0x2 USB_FTOGGLE_ USB_FTOGGLE. 0x3 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO0_16 I/O configuration for pin PIO0_16/AD5/CT32B1_MAT3/ WAKEUP 0x40 read-write n 0x0 0x0 ADMODE Selects Analog/Digital mode. 7 8 ENUM ANALOG_INPUT_MODE_ Analog input mode. 0 DIGITAL_FUNCTIONAL_M Digital functional mode. 1 FILTR Selects 10 ns input glitch filter. 8 9 ENUM FILTER_ENABLED_ Filter enabled. 0 FILTER_DISABLED_ Filter disabled. 1 FUNC Selects pin function. This pin functions as WAKEUP pin if the LPC1315/16/17/45/46/47 is in Deep power-down mode regardless of the value of FUNC. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO0_16_ PIO0_16. 0x0 AD5_ AD5. 0x1 CT32B1_MAT3_ CT32B1_MAT3. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO0_17 I/O configuration for pin PIO0_17/RTS/CT32B0_CAP0/SCLK 0x44 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x4 to 0x7 are reserved. 0 3 ENUM PIO0_17_ PIO0_17. 0x0 RTS_ RTS. 0x1 CT32B0_CAP0_ CT32B0_CAP0. 0x2 SCLK_UART_SYNCHRONO SCLK (UART synchronous clock). 0x3 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO0_18 I/O configuration for pin PIO0_18/RXD/CT32B0_MAT0 0x48 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO0_18_ PIO0_18. 0x0 RXD_ RXD. 0x1 CT32B0_MAT0_ CT32B0_MAT0. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO0_19 I/O configuration for pin PIO0_19/TXD/CT32B0_MAT1 0x4C read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO0_19_ PIO0_19. 0x0 TXD_ TXD. 0x1 CT32B0_MAT1_ CT32B0_MAT1. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO0_2 I/O configuration for pin PIO0_2/SSEL0/CT16B0_CAP0 0x8 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO0_2_ PIO0_2. 0x0 SSEL0_ SSEL0. 0x1 CT16B0_CAP0_ CT16B0_CAP0. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO0_20 I/O configuration for pin PIO0_20/CT16B1_CAP0 0x50 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM PIO0_20_ PIO0_20. 0x0 CT16B1_CAP0_ CT16B1_CAP0. 0x1 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO0_21 I/O configuration for pin PIO0_21/CT16B1_MAT0/MOSI1 0x54 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO0_21_ PIO0_21. 0x0 CT16B1_MAT0_ CT16B1_MAT0. 0x1 MOSI1_ MOSI1. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO0_22 I/O configuration for pin PIO0_22/AD6/CT16B1_MAT1/MISO1 0x58 read-write n 0x0 0x0 ADMODE Selects Analog/Digital mode. 7 8 ENUM ANALOG_INPUT_MODE_ Analog input mode. 0 DIGITAL_FUNCTIONAL_M Digital functional mode. 1 FILTR Selects 10 ns input glitch filter. 8 9 ENUM FILTER_ENABLED_ Filter enabled. 0 FILTER_DISABLED_ Filter disabled. 1 FUNC Selects pin function. Values 0x4 to 0x7 are reserved. 0 3 ENUM PIO0_22_ PIO0_22. 0x0 AD6_ AD6. 0x1 CT16B1_MAT1_ CT16B1_MAT1. 0x2 MISO1_ MISO1. 0x3 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO0_23 I/O configuration for pin PIO0_23/AD7 0x5C read-write n 0x0 0x0 ADMODE Selects Analog/Digital mode. 7 8 ENUM ANALOG_INPUT_MODE_ Analog input mode. 0 DIGITAL_FUNCTIONAL_M Digital functional mode. 1 FILTR Selects 10 ns input glitch filter. 8 9 ENUM FILTER_ENABLED_ Filter enabled. 0 FILTER_DISABLED_ Filter disabled. 1 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM PIO0_23_ PIO0_23. 0x0 AD7_ AD7. 0x1 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO0_3 I/O configuration for pin PIO0_3/USB_VBUS 0xC read-write n 0x0 0x0 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM PIO0_3_ PIO0_3. 0x0 USB_VBUS_ USB_VBUS. 0x1 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO0_4 I/O configuration for pin PIO0_4/SCL 0x10 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM PIO0_4_OPEN_DRAIN_P PIO0_4 (open-drain pin). 0x0 I2C_SCL_OPEN_DRAIN_ I2C SCL (open-drain pin). 0x1 I2CMODE Selects I2C mode (see Section 6.3.8). Select Standard mode (I2CMODE = 0, default) or Standard I/O functionality (I2CMODE = 1) if the pin function is GPIO (FUNC = 0). 8 10 ENUM STANDARD_MODE_FAST Standard mode/ Fast-mode I2C. 0x0 STANDARD_IO_FUNCTIO Standard I/O functionality 0x1 FAST_MODE_PLUS_I2C Fast-mode Plus I2C 0x2 RESERVED_ Reserved. 0x3 RESERVED Reserved. 10 32 RESERVED Reserved. 10 32 PIO0_5 I/O configuration for pin PIO0_5/SDA 0x14 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM PIO0_5_OPEN_DRAIN_P PIO0_5 (open-drain pin). 0x0 I2C_SDA_OPEN_DRAIN_ I2C SDA (open-drain pin). 0x1 I2CMODE Selects I2C mode (see Section 6.3.8). Select Standard mode (I2CMODE = 00, default) or Standard I/O functionality (I2CMODE = 01) if the pin function is GPIO (FUNC = 0). 8 10 ENUM STANDARD_MODE_FAST Standard mode/ Fast-mode I2C. 0x0 STANDARD_IO_FUNCTIO Standard I/O functionality 0x1 FAST_MODE_PLUS_I2C Fast-mode Plus I2C 0x2 RESERVED_ Reserved. 0x3 RESERVED Reserved. 10 32 PIO0_6 I/O configuration for pin PIO0_6/USB_CONNECT/SCK0 0x18 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO0_6_ PIO0_6. 0x0 USB_CONNECT_ USB_CONNECT. 0x1 SCK0_ SCK0. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO0_7 I/O configuration for pin PIO0_7/CTS 0x1C read-write n 0x0 0x0 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM PIO0_7_ PIO0_7. 0x0 CTS_ CTS. 0x1 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO0_8 I/O configuration for pin PIO0_8/MISO0/CT16B0_MAT0/ ARM_TRACE_CLK 0x20 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x4 to 0x7 are reserved. 0 3 ENUM PIO0_8_ PIO0_8. 0x0 MISO0_ MISO0. 0x1 CT16B0_MAT0_ CT16B0_MAT0. 0x2 ARM_TRACE_CLK ARM_TRACE_CLK 0x3 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO0_9 I/O configuration for pin PIO0_9/MOSI0/CT16B0_MAT1/ ARM_TRACE_SWV 0x24 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x4 to 0x7 are reserved. 0 3 ENUM PIO0_9_ PIO0_9. 0x0 MOSI0_ MOSI0. 0x1 CT16B0_MAT1_ CT16B0_MAT1. 0x2 ARM_TRACE_SWV ARM_TRACE_SWV 0x3 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_0 I/O configuration for pin PIO1_0/CT32B1_MAT0 0x60 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM PIO1_0_ PIO1_0. 0x0 CT32B1_MAT1_ CT32B1_MAT1. 0x1 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_1 I/O configuration for pin PIO1_1/CT32B1_MAT1 0x64 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM PIO1_1_ PIO1_1. 0x0 CT32B1_MAT1_ CT32B1_MAT1. 0x1 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_10 I/O configuration for pin PIO1_10 0x88 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x1 to 0x7 are reserved. 0 3 ENUM PIO1_10_ PIO1_10. 0x0 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_11 I/O configuration for pin PIO1_11 0x8C read-write n 0x0 0x0 FUNC Selects pin function. Values 0x1 to 0x7 are reserved. 0 3 ENUM PIO1_11_ PIO1_11. 0x0 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_13 I/O configuration for PIO1_13/DTR/CT16B0_MAT0/TXD 0x94 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x4 to 0x7 are reserved. 0 3 ENUM PIO1_13 PIO1_13 0x0 DTR DTR 0x1 CT16B0_MAT0 CT16B0_MAT0 0x2 TXD TXD 0x3 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_14 I/O configuration for PIO1_14/DSR/CT16B0_MAT1/RXD 0x98 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x4 to 0x7 are reserved. 0 3 ENUM PIO1_14_ PIO1_14. 0x0 DSR DSR 0x1 CT16B0_MAT1 CT16B0_MAT1 0x2 RXD RXD 0x3 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_15 I/O configuration for pin PIO1_15/DCD/ CT16B0_MAT2/SCK1 0x9C read-write n 0x0 0x0 FUNC Selects pin function. Values 0x4 to 0x7 are reserved. 0 3 ENUM PIO1_15_ PIO1_15. 0x0 DCD_ DCD. 0x1 CT16B0_MAT2_ CT16B0_MAT2. 0x2 SCK1_ SCK1. 0x3 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_16 I/O configuration for pin PIO1_16/RI/CT16B0_CAP0 0xA0 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO1_16_ PIO1_16. 0x0 RI_ RI. 0x1 CT16B0_CAP0_ CT16B0_CAP0. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_17 I/O configuration for PIO1_17/CT16B0_CAP1/RXD 0xA4 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO1_17_ PIO1_17. 0x0 CT16B0_CAP1 CT16B0_CAP1 0x1 RXD RXD 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_18 I/O configuration for PIO1_18/CT16B1_CAP1/TXD 0xA8 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO1_18 PIO1_18 0x0 CT16B1_CAP1 CT16B1_CAP1 0x1 TXD TXD 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_19 I/O configuration for pin PIO1_19/DTR/SSEL1 0xAC read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO1_19_ PIO1_19. 0x0 DTR_ DTR. 0x1 SSEL1_ SSEL1. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_2 I/O configuration for pin PIO1_2/CT32B1_MAT2 0x68 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM PIO1_2_ PIO1_2. 0x0 CT32B1_MAT2_ CT32B1_MAT2. 0x1 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_20 I/O configuration for pin PIO1_20/DSR/SCK1 0xB0 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO1_20_ PIO1_20. 0x0 DSR_ DSR. 0x1 SCK1_ SCK1. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_21 I/O configuration for pin PIO1_21/DCD/MISO1 0xB4 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO1_21_ PIO1_21. 0x0 DCD_ DCD. 0x1 MISO1_ MISO1. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_22 I/O configuration for pin PIO1_22/RI/MOSI1 0xB8 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO1_22_ PIO1_22. 0x0 RI_ RI. 0x1 MOSI1_ MOSI1. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_23 I/O configuration for pin PIO1_23/CT16B1_MAT1/SSEL1 0xBC read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO1_23_ PIO1_23. 0x0 CT16B1_MAT1_ CT16B1_MAT1. 0x1 SSEL1_ SSEL1. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_24 I/O configuration for pin PIO1_24/ CT32B0_MAT0 0xC0 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM PIO1_24_ PIO1_24. 0x0 CT32B0_MAT0_ CT32B0_MAT0. 0x1 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_25 I/O configuration for pin PIO1_25/CT32B0_MAT1 0xC4 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM PIO1_25_ PIO1_25. 0x0 CT32B0_MAT1_ CT32B0_MAT1. 0x1 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_26 I/O configuration for pin PIO1_26/CT32B0_MAT2/ RXD 0xC8 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO1_26_ PIO1_26. 0x0 CT32B0_MAT2 CT32B0_MAT2 0x1 RXD_ RXD. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_27 I/O configuration for pin PIO1_27/CT32B0_MAT3/ TXD 0xCC read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO1_27_ PIO1_27. 0x0 CT32B0_MAT3_ CT32B0_MAT3. 0x1 TXD_ TXD. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_28 I/O configuration for pin PIO1_28/CT32B0_CAP0/ SCLK 0xD0 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO1_28_ PIO1_28. 0x0 CT32B0_CAP0_ CT32B0_CAP0. 0x1 SCLK_ SCLK. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_29 I/O configuration for pin PIO1_29/SCK0/ CT32B0_CAP1 0xD4 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x3 to 0x7 are reserved. 0 3 ENUM PIO1_29_ PIO1_29. 0x0 SCK0_ SCK0. 0x1 CT32B0_CAP1_ CT32B0_CAP1. 0x2 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_3 I/O configuration for pin PIO1_3/CT32B1_MAT3 0x6C read-write n 0x0 0x0 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM PIO1_3_ PIO1_3. 0x0 CT32B1_MAT3_ CT32B1_MAT3. 0x1 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_31 I/O configuration for pin PIO1_31 0xDC read-write n 0x0 0x0 FUNC Selects pin function. Values 0x1 to 0x7 are reserved. 0 3 ENUM PIO1_31_ PIO1_31. 0x0 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_4 I/O configuration for pin PIO1_4/CT32B1_CAP0 0x70 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM PIO1_4_ PIO1_4. 0x0 CT32B1_CAP0_ CT32B1_CAP0. 0x1 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_5 I/O configuration for pin PIO1_5/CT32B1_CAP1 0x74 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM PIO1_5_ PIO1_5. 0x0 CT32B1_CAP1_ CT32B1_CAP1. 0x1 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_7 I/O configuration for pin PIO1_7 0x7C read-write n 0x0 0x0 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM PIO1_7_ PIO1_7. 0x0 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PIO1_8 I/O configuration for pin PIO1_8 0x80 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x1 to 0x7 are reserved. 0 3 ENUM PIO1_8_ PIO1_8. 0x0 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 RESET_PIO0_0 I/O configuration for pin RESET/PIO0_0 0x0 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x2 to 0x7 are reserved. 0 3 ENUM RESET_ RESET. 0x0 PIO0_0_ PIO0_0. 0x1 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 SWCLK_PIO0_10 I/O configuration for pin SWCLK/PIO0_10/ SCK0/CT16B0_MAT2 0x28 read-write n 0x0 0x0 FUNC Selects pin function. Values 0x4 to 0x7 are reserved. 0 3 ENUM SWCLK_ SWCLK. 0x0 PIO0_10_ PIO0_10. 0x1 SCK0_ SCK0. 0x2 CT16B0_MAT2_ CT16B0_MAT2. 0x3 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 SWDIO_PIO0_15 I/O configuration for pin SWDIO/PIO0_15/AD4/CT32B1_MAT2 0x3C read-write n 0x0 0x0 ADMODE Selects Analog/Digital mode. 7 8 ENUM ANALOG_INPUT_MODE_ Analog input mode. 0 DIGITAL_FUNCTIONAL_M Digital functional mode. 1 FILTR Selects 10 ns input glitch filter. 8 9 ENUM FILTER_ENABLED_ Filter enabled. 0 FILTER_DISABLED_ Filter disabled. 1 FUNC Selects pin function. Values 0x4 to 0x7 are reserved. 0 3 ENUM SWDIO_ SWDIO. 0x0 PIO0_15_ PIO0_15. 0x1 AD4_ AD4. 0x2 CT32B1_MAT2_ CT32B1_MAT2. 0x3 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 TDI_PIO0_11 I/O configuration for pin TDI/PIO0_11/AD0/CT32B0_MAT3 0x2C read-write n 0x0 0x0 ADMODE Selects Analog/Digital mode. 7 8 ENUM ANALOG_INPUT_MODE_ Analog input mode. 0 DIGITAL_FUNCTIONAL_M Digital functional mode. 1 FILTR Selects 10 ns input glitch filter. 8 9 ENUM FILTER_ENABLED_ Filter enabled. 0 FILTER_DISABLED_ Filter disabled. 1 FUNC Selects pin function. Values 0x4 to 0x7 are reserved. 0 3 ENUM TDI_ TDI. 0x0 PIO0_11_ PIO0_11. 0x1 AD0_ AD0. 0x2 CT32B0_MAT3_ CT32B0_MAT3. 0x3 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 TDO_PIO0_13 I/O configuration for pin TDO/PIO0_13/AD2/CT32B1_MAT0 0x34 read-write n 0x0 0x0 ADMODE Selects Analog/Digital mode. 7 8 ENUM ANALOG_INPUT_MODE_ Analog input mode. 0 DIGITAL_FUNCTIONAL_M Digital functional mode. 1 FILTR Selects 10 ns input glitch filter. 8 9 ENUM FILTER_ENABLED_ Filter enabled. 0 FILTER_DISABLED_ Filter disabled. 1 FUNC Selects pin function. Values 0x4 to 0x7 are reserved. 0 3 ENUM TDO_ TDO. 0x0 PIO0_13_ PIO0_13. 0x1 AD2_ AD2. 0x2 CT32B1_MAT0_ CT32B1_MAT0. 0x3 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 TMS_PIO0_12 I/O configuration for pin TMS/PIO0_12/AD1/CT32B1_CAP0 0x30 read-write n 0x0 0x0 ADMODE Selects Analog/Digital mode. 7 8 ENUM ANALOG_INPUT_MODE_ Analog input mode. 0 DIGITAL_FUNCTIONAL_M Digital functional mode. 1 FILTR Selects 10 ns input glitch filter. 8 9 ENUM FILTER_ENABLED_ Filter enabled. 0 FILTER_DISABLED_ Filter disabled. 1 FUNC Selects pin function. Values 0x4 to 0x7 are reserved. 0 3 ENUM TMS_ TMS. 0x0 PIO0_12_ PIO0_12. 0x1 AD1_ AD1. 0x2 CT32B1_CAP0_ CT32B1_CAP0. 0x3 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 TRST_PIO0_14 I/O configuration for pin TRST/PIO0_14/AD3/CT32B1_MAT1 0x38 read-write n 0x0 0x0 ADMODE Selects Analog/Digital mode. 7 8 ENUM ANALOG_INPUT_MODE_ Analog input mode. 0 DIGITAL_FUNCTIONAL_M Digital functional mode. 1 FILTR Selects 10 ns input glitch filter. 8 9 ENUM FILTER_ENABLED_ Filter enabled. 0 FILTER_DISABLED_ Filter disabled. 1 FUNC Selects pin function. Values 0x4 to 0x7 are reserved. 0 3 ENUM TRST_ TRST. 0x0 PIO0_14_ PIO0_14. 0x1 AD3_ AD3. 0x2 CT32B1_MAT1_ CT32B1_MAT1. 0x3 HYS Hysteresis. 5 6 ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 INV Invert input 6 7 ENUM INPUT_NOT_INVERTED_ Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 0 INPUT_INVERTED_HIGH Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). 1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). 3 5 ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 OD Open-drain mode. 10 11 ENUM DISABLE_ Disable. 0 OPEN_DRAIN_MODE_ENAB Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. 1 RESERVED Reserved. 11 32 RESERVED Reserved. 11 32 PMU Power Management Unit (PMU) PMU 0x0 0x0 0xFFF registers n GPREG0 General purpose register 0 0x4 -1 read-write n 0x0 0x0 GPDATA Data retained during Deep power-down mode. 0 32 GPREG1 General purpose register 0 0x8 -1 read-write n 0x0 0x0 GPDATA Data retained during Deep power-down mode. 0 32 GPREG2 General purpose register 0 0xC -1 read-write n 0x0 0x0 GPDATA Data retained during Deep power-down mode. 0 32 GPREG3 General purpose register 0 0x10 -1 read-write n 0x0 0x0 GPDATA Data retained during Deep power-down mode. 0 32 GPREG4 General purpose register 4 0x14 read-write n 0x0 0x0 GPDATA Data retained during Deep power-down mode. 11 32 RESERVED Reserved. Do not write ones to this bit. 0 10 WAKEUPHYS WAKEUP pin hysteresis enable 10 11 ENUM DISABLED Hysteresis for WAKEUP pin disabled. 0 ENABLED Hysteresis for WAKEUP pin enabled. 1 PCON Power control register 0x0 read-write n 0x0 0x0 DPDFLAG Deep power-down flag 11 12 ENUM DPNOTENTERED Read: Deep power-down mode not entered. Write: No effect. 0 DPENTERED Read: Deep power-down mode entered. Write: Clear the Deep power-down flag. 1 NODPD A 1 in this bit prevents entry to Deep power-down mode when 0x3 is written to the PM field above, the SLEEPDEEP bit is set, and a WFI is executed. Execution continues after the WFI if this bit is 1. This bit is cleared only by power-on reset, so writing a one to this bit locks the part in a mode in which Deep power-down mode is blocked. 3 4 PM Power mode 0 3 ENUM DEFAULT Default. The part is in active or sleep mode. 0x0 DEEPSLEEP ARM WFI will enter Deep-sleep mode. 0x1 POWERDOWN ARM WFI will enter Power-down mode. 0x2 DEEPPOWERDOWN ARM WFI will enter Deep-power down mode (ARM Cortex-M0 core powered-down). 0x3 RESERVED Reserved. Do not write ones to this bit. 12 32 RESERVED Reserved. Do not write ones to this bit. 9 11 RESERVED Reserved. Do not write ones to this bit. 12 32 SLEEPFLAG Sleep mode flag 8 9 ENUM NOPOWERDOWN Read: No power-down mode entered. LPC11U1x is in Active mode. Write: No effect. 0 POWERDOWN Read: Sleep/Deep-sleep or Deep power-down mode entered. Write: Writing a 1 clears the SLEEPFLAG bit to 0. 1 RITIMER Repetitive Interrupt Timer (RI timer) RITIMER 0x0 0x0 0xFFF registers n RIT_IRQ 12 COMPVAL Compare value LSB register. Holds the 32 LSBs of the compare value. 0x0 read-write n 0x0 0x0 RICOMP Compare register. Holds the 32 LSBs of the compare value which is compared to the counter. 0 32 COMPVAL_H Compare value MSB register. Holds the 16 MSBs of the compare value. 0x10 read-write n 0x0 0x0 RESERVED Reserved. 16 32 RICOMP Compare value MSB register. Holds the 16 MSBs of the compare value which is compared to the counter. 0 16 COUNTER Counter LSB register. 32 LSBs of the counter. 0xC read-write n 0x0 0x0 RICOUNTER 32 LSBs of the up counter. Counts continuously unless RITEN bit in CTRL register is cleared or debug mode is entered (if enabled by the RITNEBR bit in RICTRL). Can be loaded to any value in software. 0 32 COUNTER_H Counter MSB register. 16 MSBs of the counter. 0x18 read-write n 0x0 0x0 RESERVED Reserved. 16 32 RICOUNTER 16 LSBs of the up counter. Counts continuously unless RITEN bit in RICTRL register is cleared or debug mode is entered (if enabled by the RITNEBR bit in RICTRL). Can be loaded to any value in software. 0 16 CTRL Control register. 0x8 read-write n 0x0 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 4 32 RITEN Timer enable. 3 4 ENUM TIMER_DISABLED_ Timer disabled. 0 TIMER_ENABLED Timer enabled. This can be overruled by a debug halt if enabled in bit 2. 1 RITENBR Timer enable for debug 2 3 ENUM NO_EFFECT_ON_DEBUG Debug has no effect on the timer operation. 0 HALT_ON_DEBUG The timer is halted when the processor is halted for debugging. 1 RITENCLR Timer enable clear 1 2 ENUM NOT_CLEAR_ON_0 The timer will not be cleared to 0. 0 CLEAR_ON_O The timer will be cleared to 0 whenever the counter value equals the masked compare value specified by the contents of COMPVAL/COMPVAL_H and MASK/MASK_H registers. This will occur on the same clock that sets the interrupt flag. 1 RITINT Interrupt flag 0 1 ENUM NO_MASK The counter value does not equal the masked compare value. 0 MASK This bit is set to 1 by hardware whenever the counter value equals the masked compare value specified by the contents of RICOMPVAL and RIMASK registers. Writing a 1 to this bit will clear it to 0. Writing a 0 has no effect. 1 MASK Mask LSB register. This register holds the 32 LSB s of the mask value. A one written to any bit will force a compare on the corresponding bit of the counter and compare register. 0x4 -1 read-write n 0x0 0x0 RIMASK Mask register. This register holds the 32 LSBs of the mask value. A one written to any bit overrides the result of the comparison for the corresponding bit of the counter and compare register (causes the comparison of the register bits to be always true). 0 32 MASK_H Mask MSB register. This register holds the 16 MSBs of the mask value. A one written to any bit will force a compare on the corresponding bit of the counter and compare register. 0x14 read-write n 0x0 0x0 RESERVED Reserved. 16 32 RIMASK Mask register. This register holds the 16 MSBs of the mask value. A one written to any bit overrides the result of the comparison for the corresponding bit of the counter and compare register (causes the comparison of the register bits to be always true). 0 16 SSP0 SSP/SPI SSP0 0x0 0x0 0xFFF registers n SSP0 20 CPSR Clock Prescale Register 0x10 read-write n 0x0 0x0 CPSDVSR This even value between 2 and 254, by which SPI_PCLK is divided to yield the prescaler output clock. Bit 0 always reads as 0. 0 8 RESERVED Reserved. 8 32 CR0 Control Register 0. Selects the serial clock rate, bus type, and data size. 0x0 read-write n 0x0 0x0 CPHA Clock Out Phase. This bit is only used in SPI mode. 7 8 ENUM FIRSTCLOCK SPI controller captures serial data on the first clock transition of the frame, that is, the transition away from the inter-frame state of the clock line. 0 SECONDCLOCK SPI controller captures serial data on the second clock transition of the frame, that is, the transition back to the inter-frame state of the clock line. 1 CPOL Clock Out Polarity. This bit is only used in SPI mode. 6 7 ENUM LOW SPI controller maintains the bus clock low between frames. 0 HIGH SPI controller maintains the bus clock high between frames. 1 DSS Data Size Select. This field controls the number of bits transferred in each frame. Values 0000-0010 are not supported and should not be used. 0 4 ENUM 4_BIT_TRANSFER 4-bit transfer 0x3 5_BIT_TRANSFER 5-bit transfer 0x4 6_BIT_TRANSFER 6-bit transfer 0x5 7_BIT_TRANSFER 7-bit transfer 0x6 8_BIT_TRANSFER 8-bit transfer 0x7 9_BIT_TRANSFER 9-bit transfer 0x8 10_BIT_TRANSFER 10-bit transfer 0x9 11_BIT_TRANSFER 11-bit transfer 0xA 12_BIT_TRANSFER 12-bit transfer 0xB 13_BIT_TRANSFER 13-bit transfer 0xC 14_BIT_TRANSFER 14-bit transfer 0xD 15_BIT_TRANSFER 15-bit transfer 0xE 16_BIT_TRANSFER 16-bit transfer 0xF FRF Frame Format. 4 6 ENUM SPI SPI 0x0 TI TI 0x1 MICROWIRE Microwire 0x2 RESERVED This combination is not supported and should not be used. 0x3 RESERVED Reserved 16 32 SCR Serial Clock Rate. The number of prescaler output clocks per bit on the bus, minus one. Given that CPSDVSR is the prescale divider, and the APB clock PCLK clocks the prescaler, the bit frequency is PCLK / (CPSDVSR X [SCR+1]). 8 16 CR1 Control Register 1. Selects master/slave and other modes. 0x4 read-write n 0x0 0x0 LBM Loop Back Mode. 0 1 ENUM DURING_NORMAL_OPERAT During normal operation. 0 SERIAL_INPUT_IS_TAKE Serial input is taken from the serial output (MOSI or MISO) rather than the serial input pin (MISO or MOSI respectively). 1 MS Master/Slave Mode.This bit can only be written when the SSE bit is 0. 2 3 ENUM MASTER The SPI controller acts as a master on the bus, driving the SCLK, MOSI, and SSEL lines and receiving the MISO line. 0 SLAVE The SPI controller acts as a slave on the bus, driving MISO line and receiving SCLK, MOSI, and SSEL lines. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 4 32 SOD Slave Output Disable. This bit is relevant only in slave mode (MS = 1). If it is 1, this blocks this SPI controller from driving the transmit data line (MISO). 3 4 SSE SPI Enable. 1 2 ENUM DISABLED The SPI controller is disabled. 0 ENABLED The SPI controller will interact with other devices on the serial bus. Software should write the appropriate control information to the other SSP/SPI registers and interrupt controller registers, before setting this bit. 1 DR Data Register. Writes fill the transmit FIFO, and reads empty the receive FIFO. 0x8 read-write n 0x0 0x0 modify DATA Write: software can write data to be sent in a future frame to this register whenever the TNF bit in the Status register is 1, indicating that the Tx FIFO is not full. If the Tx FIFO was previously empty and the SPI controller is not busy on the bus, transmission of the data will begin immediately. Otherwise the data written to this register will be sent as soon as all previous data has been sent (and received). If the data length is less than 16 bit, software must right-justify the data written to this register. Read: software can read data from this register whenever the RNE bit in the Status register is 1, indicating that the Rx FIFO is not empty. When software reads this register, the SPI controller returns data from the least recent frame in the Rx FIFO. If the data length is less than 16 bit, the data is right-justified in this field with higher order bits filled with 0s. 0 16 RESERVED Reserved. 16 32 ICR SSPICR Interrupt Clear Register 0x20 write-only n 0x0 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 2 32 RORIC Writing a 1 to this bit clears the frame was received when RxFIFO was full interrupt. 0 1 RTIC Writing a 1 to this bit clears the Rx FIFO was not empty and has not been read for a timeout period interrupt. The timeout period is the same for master and slave modes and is determined by the SSP bit rate: 32 bits at PCLK / (CPSDVSR X [SCR+1]). 1 2 IMSC Interrupt Mask Set and Clear Register 0x14 read-write n 0x0 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 4 32 RORIM Software should set this bit to enable interrupt when a Receive Overrun occurs, that is, when the Rx FIFO is full and another frame is completely received. The ARM spec implies that the preceding frame data is overwritten by the new frame data when this occurs. 0 1 RTIM Software should set this bit to enable interrupt when a Receive Time-out condition occurs. A Receive Time-out occurs when the Rx FIFO is not empty, and no has not been read for a time-out period. The time-out period is the same for master and slave modes and is determined by the SSP bit rate: 32 bits at PCLK / (CPSDVSR X [SCR+1]). 1 2 RXIM Software should set this bit to enable interrupt when the Rx FIFO is at least half full. 2 3 TXIM Software should set this bit to enable interrupt when the Tx FIFO is at least half empty. 3 4 MIS Masked Interrupt Status Register 0x1C read-only n 0x0 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 4 32 RORMIS This bit is 1 if another frame was completely received while the RxFIFO was full, and this interrupt is enabled. 0 1 RTMIS This bit is 1 if the Rx FIFO is not empty, has not been read for a time-out period, and this interrupt is enabled. The time-out period is the same for master and slave modes and is determined by the SSP bit rate: 32 bits at PCLK / (CPSDVSR X [SCR+1]). 1 2 RXMIS This bit is 1 if the Rx FIFO is at least half full, and this interrupt is enabled. 2 3 TXMIS This bit is 1 if the Tx FIFO is at least half empty, and this interrupt is enabled. 3 4 RIS Raw Interrupt Status Register 0x18 read-only n 0x0 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 4 32 RORRIS This bit is 1 if another frame was completely received while the RxFIFO was full. The ARM spec implies that the preceding frame data is overwritten by the new frame data when this occurs. 0 1 RTRIS This bit is 1 if the Rx FIFO is not empty, and has not been read for a time-out period. The time-out period is the same for master and slave modes and is determined by the SSP bit rate: 32 bits at PCLK / (CPSDVSR X [SCR+1]). 1 2 RXRIS This bit is 1 if the Rx FIFO is at least half full. 2 3 TXRIS This bit is 1 if the Tx FIFO is at least half empty. 3 4 SR Status Register 0xC read-only n 0x0 0x0 BSY Busy. This bit is 0 if the SPI controller is idle, 1 if it is currently sending/receiving a frame and/or the Tx FIFO is not empty. 4 5 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 5 32 RFF Receive FIFO Full. This bit is 1 if the Receive FIFO is full, 0 if not. 3 4 RNE Receive FIFO Not Empty. This bit is 0 if the Receive FIFO is empty, 1 if not. 2 3 TFE Transmit FIFO Empty. This bit is 1 is the Transmit FIFO is empty, 0 if not. 0 1 TNF Transmit FIFO Not Full. This bit is 0 if the Tx FIFO is full, 1 if not. 1 2 SSP1 SSP/SPI SSP0 0x0 0x0 0xFFF registers n SSP1 14 CPSR Clock Prescale Register 0x10 read-write n 0x0 0x0 CPSDVSR This even value between 2 and 254, by which SPI_PCLK is divided to yield the prescaler output clock. Bit 0 always reads as 0. 0 8 RESERVED Reserved. 8 32 CR0 Control Register 0. Selects the serial clock rate, bus type, and data size. 0x0 read-write n 0x0 0x0 CPHA Clock Out Phase. This bit is only used in SPI mode. 7 8 ENUM FIRSTCLOCK SPI controller captures serial data on the first clock transition of the frame, that is, the transition away from the inter-frame state of the clock line. 0 SECONDCLOCK SPI controller captures serial data on the second clock transition of the frame, that is, the transition back to the inter-frame state of the clock line. 1 CPOL Clock Out Polarity. This bit is only used in SPI mode. 6 7 ENUM LOW SPI controller maintains the bus clock low between frames. 0 HIGH SPI controller maintains the bus clock high between frames. 1 DSS Data Size Select. This field controls the number of bits transferred in each frame. Values 0000-0010 are not supported and should not be used. 0 4 ENUM 4_BIT_TRANSFER 4-bit transfer 0x3 5_BIT_TRANSFER 5-bit transfer 0x4 6_BIT_TRANSFER 6-bit transfer 0x5 7_BIT_TRANSFER 7-bit transfer 0x6 8_BIT_TRANSFER 8-bit transfer 0x7 9_BIT_TRANSFER 9-bit transfer 0x8 10_BIT_TRANSFER 10-bit transfer 0x9 11_BIT_TRANSFER 11-bit transfer 0xA 12_BIT_TRANSFER 12-bit transfer 0xB 13_BIT_TRANSFER 13-bit transfer 0xC 14_BIT_TRANSFER 14-bit transfer 0xD 15_BIT_TRANSFER 15-bit transfer 0xE 16_BIT_TRANSFER 16-bit transfer 0xF FRF Frame Format. 4 6 ENUM SPI SPI 0x0 TI TI 0x1 MICROWIRE Microwire 0x2 RESERVED This combination is not supported and should not be used. 0x3 RESERVED Reserved 16 32 SCR Serial Clock Rate. The number of prescaler output clocks per bit on the bus, minus one. Given that CPSDVSR is the prescale divider, and the APB clock PCLK clocks the prescaler, the bit frequency is PCLK / (CPSDVSR X [SCR+1]). 8 16 CR1 Control Register 1. Selects master/slave and other modes. 0x4 read-write n 0x0 0x0 LBM Loop Back Mode. 0 1 ENUM DURING_NORMAL_OPERAT During normal operation. 0 SERIAL_INPUT_IS_TAKE Serial input is taken from the serial output (MOSI or MISO) rather than the serial input pin (MISO or MOSI respectively). 1 MS Master/Slave Mode.This bit can only be written when the SSE bit is 0. 2 3 ENUM MASTER The SPI controller acts as a master on the bus, driving the SCLK, MOSI, and SSEL lines and receiving the MISO line. 0 SLAVE The SPI controller acts as a slave on the bus, driving MISO line and receiving SCLK, MOSI, and SSEL lines. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 4 32 SOD Slave Output Disable. This bit is relevant only in slave mode (MS = 1). If it is 1, this blocks this SPI controller from driving the transmit data line (MISO). 3 4 SSE SPI Enable. 1 2 ENUM DISABLED The SPI controller is disabled. 0 ENABLED The SPI controller will interact with other devices on the serial bus. Software should write the appropriate control information to the other SSP/SPI registers and interrupt controller registers, before setting this bit. 1 DR Data Register. Writes fill the transmit FIFO, and reads empty the receive FIFO. 0x8 read-write n 0x0 0x0 modify DATA Write: software can write data to be sent in a future frame to this register whenever the TNF bit in the Status register is 1, indicating that the Tx FIFO is not full. If the Tx FIFO was previously empty and the SPI controller is not busy on the bus, transmission of the data will begin immediately. Otherwise the data written to this register will be sent as soon as all previous data has been sent (and received). If the data length is less than 16 bit, software must right-justify the data written to this register. Read: software can read data from this register whenever the RNE bit in the Status register is 1, indicating that the Rx FIFO is not empty. When software reads this register, the SPI controller returns data from the least recent frame in the Rx FIFO. If the data length is less than 16 bit, the data is right-justified in this field with higher order bits filled with 0s. 0 16 RESERVED Reserved. 16 32 ICR SSPICR Interrupt Clear Register 0x20 write-only n 0x0 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 2 32 RORIC Writing a 1 to this bit clears the frame was received when RxFIFO was full interrupt. 0 1 RTIC Writing a 1 to this bit clears the Rx FIFO was not empty and has not been read for a timeout period interrupt. The timeout period is the same for master and slave modes and is determined by the SSP bit rate: 32 bits at PCLK / (CPSDVSR X [SCR+1]). 1 2 IMSC Interrupt Mask Set and Clear Register 0x14 read-write n 0x0 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 4 32 RORIM Software should set this bit to enable interrupt when a Receive Overrun occurs, that is, when the Rx FIFO is full and another frame is completely received. The ARM spec implies that the preceding frame data is overwritten by the new frame data when this occurs. 0 1 RTIM Software should set this bit to enable interrupt when a Receive Time-out condition occurs. A Receive Time-out occurs when the Rx FIFO is not empty, and no has not been read for a time-out period. The time-out period is the same for master and slave modes and is determined by the SSP bit rate: 32 bits at PCLK / (CPSDVSR X [SCR+1]). 1 2 RXIM Software should set this bit to enable interrupt when the Rx FIFO is at least half full. 2 3 TXIM Software should set this bit to enable interrupt when the Tx FIFO is at least half empty. 3 4 MIS Masked Interrupt Status Register 0x1C read-only n 0x0 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 4 32 RORMIS This bit is 1 if another frame was completely received while the RxFIFO was full, and this interrupt is enabled. 0 1 RTMIS This bit is 1 if the Rx FIFO is not empty, has not been read for a time-out period, and this interrupt is enabled. The time-out period is the same for master and slave modes and is determined by the SSP bit rate: 32 bits at PCLK / (CPSDVSR X [SCR+1]). 1 2 RXMIS This bit is 1 if the Rx FIFO is at least half full, and this interrupt is enabled. 2 3 TXMIS This bit is 1 if the Tx FIFO is at least half empty, and this interrupt is enabled. 3 4 RIS Raw Interrupt Status Register 0x18 read-only n 0x0 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 4 32 RORRIS This bit is 1 if another frame was completely received while the RxFIFO was full. The ARM spec implies that the preceding frame data is overwritten by the new frame data when this occurs. 0 1 RTRIS This bit is 1 if the Rx FIFO is not empty, and has not been read for a time-out period. The time-out period is the same for master and slave modes and is determined by the SSP bit rate: 32 bits at PCLK / (CPSDVSR X [SCR+1]). 1 2 RXRIS This bit is 1 if the Rx FIFO is at least half full. 2 3 TXRIS This bit is 1 if the Tx FIFO is at least half empty. 3 4 SR Status Register 0xC read-only n 0x0 0x0 BSY Busy. This bit is 0 if the SPI controller is idle, 1 if it is currently sending/receiving a frame and/or the Tx FIFO is not empty. 4 5 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 5 32 RFF Receive FIFO Full. This bit is 1 if the Receive FIFO is full, 0 if not. 3 4 RNE Receive FIFO Not Empty. This bit is 0 if the Receive FIFO is empty, 1 if not. 2 3 TFE Transmit FIFO Empty. This bit is 1 is the Transmit FIFO is empty, 0 if not. 0 1 TNF Transmit FIFO Not Full. This bit is 0 if the Tx FIFO is full, 1 if not. 1 2 SYSCON System control block SYSCON 0x0 0x0 0xFFF registers n BOD_IRQ 26 BODCTRL Brown-Out Detect 0x150 read-write n 0x0 0x0 BODINTVAL BOD interrupt level 2 4 ENUM RESERVED_ Reserved. 0x0 LEVEL_1THE_INTERRUP Level 1:The interrupt assertion threshold voltage is 2.22 V the interrupt de-assertion threshold voltage is 2.35 V. 0x1 LEVEL_2_THE_INTERRU Level 2: The interrupt assertion threshold voltage is 2.52 V the interrupt de-assertion threshold voltage is 2.66 V. 0x2 LEVEL_3_THE_INTERRU Level 3: The interrupt assertion threshold voltage is 2.80 V the interrupt de-assertion threshold voltage is 2.90 V. 0x3 BODRSTENA BOD reset enable 4 5 ENUM DISABLE_RESET_FUNCTI Disable reset function. 0 ENABLE_RESET_FUNCTIO Enable reset function. 1 BODRSTLEV BOD reset level 0 2 ENUM LEVEL_0_THE_RESET_A Level 0: The reset assertion threshold voltage is 1.46 V the reset de-assertion threshold voltage is 1.63 V. 0x0 LEVEL_1_THE_RESET_A Level 1: The reset assertion threshold voltage is 2.06 V the reset de-assertion threshold voltage is 2.15 V. 0x1 LEVEL_2_THE_RESET_A Level 2: The reset assertion threshold voltage is 2.35 V the reset de-assertion threshold voltage is 2.43 V. 0x2 LEVEL_3_THE_RESET_A Level 3: The reset assertion threshold voltage is 2.63 V the reset de-assertion threshold voltage is 2.71 V. 0x3 RESERVED Reserved 5 32 CLKOUTDIV CLKOUT clock divider 0xE8 read-write n 0x0 0x0 DIV CLKOUT clock divider values 0: Disable CLKOUT clock divider. 1: Divide by 1. to 255: Divide by 255. 0 8 RESERVED Reserved 8 32 CLKOUTSEL CLKOUT clock source select 0xE0 read-write n 0x0 0x0 RESERVED Reserved 2 32 SEL CLKOUT clock source 0 2 ENUM IRC_OSCILLATOR IRC oscillator 0x0 CRYSTAL_OSCILLATOR_ Crystal oscillator (SYSOSC) 0x1 WATCHDOG_OSCILLATOR Watchdog oscillator 0x2 MAIN_CLOCK Main clock 0x3 DEVICE_ID Device ID 0x3F8 read-only n 0x0 0x0 DEVICEID LPC1345FHN33 = 0x2801 0541 LPC1345FBD48 = 0x2801 0541 LPC1346FHN33 = 0x0801 8542 LPC1346FBD48 = 0x0801 8542 LPC1347FHN33 = 0x0802 0543 LPC1347FBD48 = 0x0802 0543 LPC1347FBD64 = 0x0802 0543 LPC1315FHN33 = 0x3A01 0523 LPC1315FBD48 = 0x3A01 0523 LPC1316FHN33 = 0x1A01 8524 LPC1316FBD48 = 0x1A01 8524 LPC1317FHN33 = 0x1A02 0525 LPC1317FBD48 = 0x1A02 0525 LPC1317FBD64 = 0x1A02 0525 0 32 IRQLATENCY IQR delay. Allows trade-off between interrupt latency and determinism. 0x170 read-write n 0x0 0x0 LATENCY 8-bit latency value 0 8 RESERVED Reserved 8 32 MAINCLKSEL Main clock source select 0x70 read-write n 0x0 0x0 RESERVED Reserved 2 32 SEL Clock source for main clock 0 2 ENUM IRC_OSCILLATOR IRC Oscillator 0x0 PLL_INPUT PLL input 0x1 WATCHDOG_OSCILLATOR Watchdog oscillator 0x2 PLL_OUTPUT PLL output 0x3 NMISRC NMI Source Control 0x174 read-write n 0x0 0x0 IRQNO The IRQ number of the interrupt that acts as the Non-Maskable Interrupt (NMI) if bit 31 is 1. See Table 53 for the list of interrupt sources and their IRQ numbers. 0 5 NMIEN Write a 1 to this bit to enable the Non-Maskable Interrupt (NMI) source selected by bits 4:0. 31 32 RESERVED Reserved 5 31 PDAWAKECFG Power-down states for wake-up from deep-sleep 0x234 read-write n 0x0 0x0 ADC_PD ADC wake-up configuration 4 5 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 BOD_PD BOD wake-up configuration 3 4 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 FLASH_PD Flash wake-up configuration 2 3 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 IRCOUT_PD IRC oscillator output wake-up configuration 0 1 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 IRC_PD IRC oscillator power-down wake-up configuration 1 2 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 RESERVED Reserved 13 32 RESERVED Reserved. This bit must be set to one in Run mode. 11 12 RESERVED Reserved. 12 13 RESERVED Reserved 13 32 SYSOSC_PD Crystal oscillator wake-up configuration 5 6 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 SYSPLL_PD System PLL wake-up configuration 7 8 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 USBPAD_PD USB transceiver wake-up configuration 10 11 ENUM USB_TRANSCEIVER_POWE USB transceiver powered down 1 USB_TRANSCEIVER_POWE USB transceiver powered down 1 USBPLL_PD USB PLL wake-up configuration 8 9 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 WDTOSC_PD Watchdog oscillator wake-up configuration 6 7 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 PDRUNCFG Power configuration register 0x238 read-write n 0x0 0x0 ADC_PD ADC power-down 4 5 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 BOD_PD BOD power-down 3 4 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 FLASH_PD Flash power-down 2 3 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 IRCOUT_PD IRC oscillator output power-down 0 1 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 IRC_PD IRC oscillator power-down 1 2 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 RESERVED Reserved 16 32 RESERVED Reserved. This bit must be set to one in Run mode. 11 12 RESERVED Reserved. 12 13 RESERVED Reserved. Always write these bits as 111. 13 16 RESERVED Reserved 16 32 SYSOSC_PD Crystal oscillator power-down 5 6 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 SYSPLL_PD System PLL power-down 7 8 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 USBPAD_PD USB transceiver power-down configuration 10 11 ENUM USB_TRANSCEIVER_POWE USB transceiver powered down (suspend mode) 1 USB_TRANSCEIVER_POWE USB transceiver powered down (suspend mode) 1 USBPLL_PD USB PLL power-down 8 9 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 WDTOSC_PD Watchdog oscillator power-down 6 7 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 PDSLEEPCFG Power-down states in deep-sleep mode 0x230 read-write n 0x0 0x0 BOD_PD BOD power-down control for Deep-sleep and Power-down mode 3 4 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 RESERVED Reserved 7 32 WDTOSC_PD Watchdog oscillator power-down control for Deep-sleep and Power-down mode 6 7 ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 PINTSEL0 GPIO Pin Interrupt Select register 0x178 -1 read-write n 0x0 0x0 INTPIN Pin number within the port selected by the PORTSEL bit in this register. 0 5 PORTSEL Select the port for the pin number to be selected in the INTPIN bits of this register. 5 6 ENUM PORT_0 Port 0 0 PORT_1 Port 1 1 RESERVED Reserved 6 32 PINTSEL1 GPIO Pin Interrupt Select register 0x17C -1 read-write n 0x0 0x0 INTPIN Pin number within the port selected by the PORTSEL bit in this register. 0 5 PORTSEL Select the port for the pin number to be selected in the INTPIN bits of this register. 5 6 ENUM PORT_0 Port 0 0 PORT_1 Port 1 1 RESERVED Reserved 6 32 PINTSEL2 GPIO Pin Interrupt Select register 0x180 -1 read-write n 0x0 0x0 INTPIN Pin number within the port selected by the PORTSEL bit in this register. 0 5 PORTSEL Select the port for the pin number to be selected in the INTPIN bits of this register. 5 6 ENUM PORT_0 Port 0 0 PORT_1 Port 1 1 RESERVED Reserved 6 32 PINTSEL3 GPIO Pin Interrupt Select register 0x184 -1 read-write n 0x0 0x0 INTPIN Pin number within the port selected by the PORTSEL bit in this register. 0 5 PORTSEL Select the port for the pin number to be selected in the INTPIN bits of this register. 5 6 ENUM PORT_0 Port 0 0 PORT_1 Port 1 1 RESERVED Reserved 6 32 PINTSEL4 GPIO Pin Interrupt Select register 0x188 -1 read-write n 0x0 0x0 INTPIN Pin number within the port selected by the PORTSEL bit in this register. 0 5 PORTSEL Select the port for the pin number to be selected in the INTPIN bits of this register. 5 6 ENUM PORT_0 Port 0 0 PORT_1 Port 1 1 RESERVED Reserved 6 32 PINTSEL5 GPIO Pin Interrupt Select register 0x18C -1 read-write n 0x0 0x0 INTPIN Pin number within the port selected by the PORTSEL bit in this register. 0 5 PORTSEL Select the port for the pin number to be selected in the INTPIN bits of this register. 5 6 ENUM PORT_0 Port 0 0 PORT_1 Port 1 1 RESERVED Reserved 6 32 PINTSEL6 GPIO Pin Interrupt Select register 0x190 -1 read-write n 0x0 0x0 INTPIN Pin number within the port selected by the PORTSEL bit in this register. 0 5 PORTSEL Select the port for the pin number to be selected in the INTPIN bits of this register. 5 6 ENUM PORT_0 Port 0 0 PORT_1 Port 1 1 RESERVED Reserved 6 32 PINTSEL7 GPIO Pin Interrupt Select register 0x194 -1 read-write n 0x0 0x0 INTPIN Pin number within the port selected by the PORTSEL bit in this register. 0 5 PORTSEL Select the port for the pin number to be selected in the INTPIN bits of this register. 5 6 ENUM PORT_0 Port 0 0 PORT_1 Port 1 1 RESERVED Reserved 6 32 PIOPORCAP0 POR captured PIO status 0 0x100 read-only n 0x0 0x0 PIOSTAT State of P0_23 through P0_0 at power-on reset 0 24 RESERVED Reserved 24 32 PIOPORCAP1 POR captured PIO status 1 0x104 read-only n 0x0 0x0 PIOSTAT State of P1_31 through P1_0 at power-on reset 0 32 PRESETCTRL Peripheral reset control 0x4 read-write n 0x0 0x0 I2C_RST_N I2C reset control 1 2 ENUM RESETS_THE_I2C_PERIP Resets the I2C peripheral. 0 I2C_RESET_DE_ASSERTE I2C reset de-asserted. 1 RESERVED Reserved 4 32 RESERVED Reserved 4 32 SSP0_RST_N SSP0 reset control 0 1 ENUM RESETS_THE_SSP0_PERI Resets the SSP0 peripheral. 0 SSP0_RESET_DE_ASSERT SSP0 reset de-asserted. 1 SSP1_RST_N SSP1 reset control 2 3 ENUM RESETS_THE_SSP0_PERI Resets the SSP0 peripheral. 0 SSP1_RESET_DE_ASSERT SSP1 reset de-asserted. 1 SSP0CLKDIV SSP0 clock divider 0x94 read-write n 0x0 0x0 DIV SPI0_PCLK clock divider values. 0: System clock disabled. 1: Divide by 1. to 255: Divide by 255. 0 8 RESERVED Reserved 8 32 SSP1CLKDIV SSP1 clock divider 0x9C read-write n 0x0 0x0 DIV SSP1_PCLK clock divider values 0: Disable SSP1_PCLK. 1: Divide by 1. to 255: Divide by 255. 0 8 RESERVED Reserved 8 32 STARTERP0 Start logic 0 interrupt wake-up enable register 0 0x204 read-write n 0x0 0x0 PINT0 Pin interrupt 0 wake-up 0 1 ENUM DISABLED Disabled 0 ENABLED Enabled 1 PINT1 Pin interrupt 1 wake-up 1 2 ENUM DISABLED Disabled 0 ENABLED Enabled 1 PINT2 Pin interrupt 2 wake-up 2 3 ENUM DISABLED Disabled 0 ENABLED Enabled 1 PINT3 Pin interrupt 3 wake-up 3 4 ENUM DISABLED Disabled 0 ENABLED Enabled 1 PINT4 Pin interrupt 4 wake-up 4 5 ENUM DISABLED Disabled 0 ENABLED Enabled 1 PINT5 Pin interrupt 5 wake-up 5 6 ENUM DISABLED Disabled 0 ENABLED Enabled 1 PINT6 Pin interrupt 6 wake-up 6 7 ENUM DISABLED Disabled 0 ENABLED Enabled 1 PINT7 Pin interrupt 7 wake-up 7 8 ENUM DISABLED Disabled 0 ENABLED Enabled 1 RESERVED Reserved 8 32 STARTERP1 Start logic 1 interrupt wake-up enable register 1 0x214 read-write n 0x0 0x0 BODINT Brown Out Detect (BOD) interrupt wake-up 13 14 ENUM DISABLED Disabled 0 ENABLED Enabled 1 GPIOINT0 GPIO GROUP0 interrupt wake-up 20 21 ENUM DISABLED Disabled 0 ENABLED Enabled 1 GPIOINT1 GPIO GROUP1 interrupt wake-up 21 22 ENUM DISABLED Disabled 0 ENABLED Enabled 1 RESERVED Reserved 14 19 USB_WAKEUP USB need_clock signal wake-up 19 20 ENUM DISABLED Disabled 0 ENABLED Enabled 1 WWDTINT WWDT interrupt wake-up 12 13 ENUM DISABLED Disabled 0 ENABLED Enabled 1 SYSAHBCLKCTRL System clock control 0x80 read-write n 0x0 0x0 ADC Enables clock for ADC. 13 14 ENUM DISABLE Disable 0 ENABLE Enable 1 CT16B0 Enables clock for 16-bit counter/timer 0. 7 8 ENUM DISABLE Disable 0 ENABLE Enable 1 CT16B1 Enables clock for 16-bit counter/timer 1. 8 9 ENUM DISABLE Disable 0 ENABLE Enable 1 CT32B0 Enables clock for 32-bit counter/timer 0. 9 10 ENUM DISABLE Disable 0 ENABLE Enable 1 CT32B1 Enables clock for 32-bit counter/timer 1. 10 11 ENUM DISABLE Disable 0 ENABLE Enable 1 FLASHARRAY Enables clock for flash array access. 4 5 ENUM DISABLED Disabled 0 ENABLED Enabled 1 FLASHREG Enables clock for flash register interface. 3 4 ENUM DISABLED Disabled 0 ENABLED Enabled 1 GPIO Enables clock for GPIO port registers. 6 7 ENUM DISABLE Disable 0 ENABLE Enable 1 GROUP0INT Enables clock to GPIO GROUP0 interrupt register interface. 23 24 ENUM DISABLE Disable 0 ENABLE Enable 1 GROUP1INT Enables clock to GPIO GROUP1 interrupt register interface. 24 25 ENUM DISABLE Disable 0 ENABLE Enable 1 I2C Enables clock for I2C. 5 6 ENUM DISABLE Disable 0 ENABLE Enable 1 IOCON Enables clock for I/O configuration block. 16 17 ENUM DISABLE Disable 0 ENABLE Enable 1 PINT Enables clock to GPIO Pin interrupts register interface. 19 20 ENUM DISABLE Disable 0 ENABLE Enable 1 RAM0 Enables clock for SRAM0. 2 3 ENUM DISABLE Disable 0 ENABLE Enable 1 RAM1 Enables clock for SRAM1 located at 0x2000 0000 to 0x2000 0800. 26 27 ENUM DISABLE Disable 0 ENABLE Enable 1 RESERVED Reserved 28 32 RESERVED Reserved 20 23 RESERVED Reserved 25 26 RESERVED Reserved 28 32 ROM Enables clock for ROM. 1 2 ENUM DISABLE Disable 0 ENABLE Enable 1 SSP0 Enables clock for SSP0. 11 12 ENUM DISABLE Disable 0 ENABLE Enable 1 SSP1 Enables clock for SSP1. 18 19 ENUM DISABLE Disable 0 ENABLE Enable 1 SYS Enables the clock for the AHB, the APB bridge, the Cortex-M3 FCLK and HCLK, SysCon, and the PMU. This bit is read only and always reads as 1. 0 1 ENUM RESERVED Reserved 0 ENABLE Enable 1 USART Enables clock for UART. 12 13 ENUM DISABLE Disable 0 ENABLE Enable 1 USB Enables clock to the USB register interface. 14 15 ENUM DISABLE Disable 0 ENABLE Enable 1 USBSRAM Enables USB SRAM block located at 0x2000 4000 to 0x2000 4800. 27 28 ENUM DISABLE Disable 0 ENABLE Enable 1 WWDT Enables clock for WWDT. 15 16 ENUM DISABLE Disable 0 ENABLE Enable 1 SYSAHBCLKDIV System clock divider 0x78 read-write n 0x0 0x0 DIV System AHB clock divider values 0: System clock disabled. 1: Divide by 1. to 255: Divide by 255. 0 8 RESERVED Reserved 8 32 SYSMEMREMAP System memory remap 0x0 read-write n 0x0 0x0 MAP System memory remap. Value 0x3 is reserved. 0 2 ENUM BOOT_LOADER_MODE_IN Boot Loader Mode. Interrupt vectors are re-mapped to Boot ROM. 0x0 USER_RAM_MODE_INTER User RAM Mode. Interrupt vectors are re-mapped to Static RAM. 0x1 USER_FLASH_MODE_INT User Flash Mode. Interrupt vectors are not re-mapped and reside in Flash. 0x2 RESERVED Reserved 2 32 SYSOSCCTRL System oscillator control 0x20 read-write n 0x0 0x0 BYPASS Bypass system oscillator 0 1 ENUM OSCILLATOR_IS_NOT_BY Oscillator is not bypassed. 0 BYPASS_ENABLED_PLL_ Bypass enabled. PLL input (sys_osc_clk) is fed directly from the XTALIN pin bypassing the oscillator. Use this mode when using an external clock source instead of the crystal oscillator. 1 FREQRANGE Determines frequency range for Low-power oscillator. 1 2 ENUM 1__20_MHZ_FREQUENCY 1 - 20 MHz frequency range. 0 15__25_MHZ_FREQUENC 15 - 25 MHz frequency range 1 RESERVED Reserved 2 32 SYSPLLCLKSEL System PLL clock source select 0x40 read-write n 0x0 0x0 RESERVED Reserved 2 32 SEL System PLL clock source 0 2 ENUM IRC IRC 0x0 CRYSTAL_OSCILLATOR_ Crystal Oscillator (SYSOSC) 0x1 RESERVED Reserved 0x3 RESERVED Reserved 0x3 SYSPLLCTRL System PLL control 0x8 read-write n 0x0 0x0 MSEL Feedback divider value. The division value M is the programmed MSEL value + 1. 00000: Division ratio M = 1 to 11111: Division ratio M = 32 0 5 PSEL Post divider ratio P. The division ratio is 2 x P. 5 7 ENUM P_EQ_1 P = 1 0x0 P_EQ_2 P = 2 0x1 P_EQ_4 P = 4 0x2 P_EQ_8 P = 8 0x3 RESERVED Reserved. Do not write ones to reserved bits. 7 32 SYSPLLSTAT System PLL status 0xC read-only n 0x0 0x0 LOCK PLL lock status 0 1 ENUM PLL_NOT_LOCKED PLL not locked 0 PLL_LOCKED PLL locked 1 RESERVED Reserved 1 32 SYSRSTSTAT System reset status register 0x30 read-write n 0x0 0x0 BOD Status of the Brown-out detect reset 3 4 ENUM NO_BOD_RESET_DETECTE No BOD reset detected 0 BOD_RESET_DETECTED BOD reset detected 1 EXTRST Status of the external RESET pin 1 2 ENUM NO_RESET_EVENT_DETEC No reset event detected 0 RESET_DETECTED Reset detected 1 POR POR reset status 0 1 ENUM NO_POR_DETECTED No POR detected 0 POR_DETECTED POR detected 1 RESERVED Reserved 5 32 SYSRST Status of the software system reset 4 5 ENUM NO_SYSTEM_RESET_DETE No System reset detected 0 SYSTEM_RESET_DETECTE System reset detected 1 WDT Status of the Watchdog reset 2 3 ENUM NO_WDT_RESET_DETECTE No WDT reset detected 0 WDT_RESET_DETECTED WDT reset detected 1 SYSTCKCAL System tick counter calibration 0x154 read-write n 0x0 0x0 CAL System tick timer calibration value 0 26 RESERVED Reserved 26 32 SYSTICKCLKDIV SYSTICK clock divider 0xB0 read-write n 0x0 0x0 DIV SYSTICK clock divider values. 0: Disable SYSTICK timer clock. 1: Divide by 1. to 255: Divide by 255. 0 8 RESERVED Reserved 8 32 TRACECLKDIV ARM trace clock divider 0xAC read-write n 0x0 0x0 DIV ARM trace clock divider values. 0: Disable TRACE_CLK. 1: Divide by 1. to 255: Divide by 255. 0 8 RESERVED Reserved 8 32 UARTCLKDIV UART clock divider 0x98 read-write n 0x0 0x0 DIV UART_PCLK clock divider values 0: Disable UART_PCLK. 1: Divide by 1. to 255: Divide by 255. 0 8 RESERVED Reserved 8 32 USBCLKCTRL USB clock control 0x198 read-write n 0x0 0x0 AP_CLK USB need_clock signal control 0 1 ENUM UNDER_HARDWARE_CONTR Under hardware control. 0 FORCED_HIGH_ Forced HIGH. 1 POL_CLK USB need_clock polarity for triggering the USB wake-up interrupt 1 2 ENUM FALLING_EDGE_OF_THE_ Falling edge of the USB need_clock triggers the USB wake-up (default). 0 RISING_EDGE_OF_THE_U Rising edge of the USB need_clock triggers the USB wake-up. 1 RESERVED Reserved 2 32 USBCLKDIV USB clock source divider 0xC8 read-write n 0x0 0x0 DIV USB clock divider values 0: Disable USB clock. 1: Divide by 1. to 255: Divide by 255. 0 8 RESERVED Reserved 8 32 USBCLKSEL USB clock source select 0xC0 read-write n 0x0 0x0 RESERVED Reserved 2 32 SEL USB clock source. Values 0x2 and 0x3 are reserved. 0 2 ENUM USB_PLL_OUT USB PLL out 0x0 MAIN_CLOCK Main clock 0x1 USBCLKST USB clock status 0x19C read-only n 0x0 0x0 NEED_CLKST USB need_clock signal status 0 1 ENUM LOW LOW 0 HIGH HIGH 1 RESERVED Reserved 1 32 USBPLLCLKSEL USB PLL clock source select 0x48 read-write n 0x0 0x0 RESERVED Reserved 2 32 SEL USB PLL clock source 0 2 ENUM IRC_THE_USB_PLL_CLO IRC. The USB PLL clock source must be switched to system oscillator for correct USB operation. 0x0 SYSTEM_OSCILLATOR System oscillator 0x1 RESERVED Reserved 0x3 RESERVED Reserved 0x3 USBPLLCTRL USB PLL control 0x10 read-write n 0x0 0x0 MSEL Feedback divider value. The division value M is the programmed MSEL value + 1. 00000: Division ratio M = 1 to 11111: Division ratio M = 32 0 5 PSEL Post divider ratio P. The division ratio is 2 x P. 5 7 ENUM P_EQ_1 P = 1 0x0 P_EQ_2 P = 2 0x1 P_EQ_4 P = 4 0x2 P_EQ_8 P = 8 0x3 RESERVED Reserved. Do not write ones to reserved bits. 7 32 USBPLLSTAT USB PLL status 0x14 read-only n 0x0 0x0 LOCK PLL lock status 0 1 ENUM PLL_NOT_LOCKED PLL not locked 0 PLL_LOCKED PLL locked 1 RESERVED Reserved 1 32 WDTOSCCTRL Watchdog oscillator control 0x24 read-write n 0x0 0x0 DIVSEL Select divider for Fclkana. wdt_osc_clk = Fclkana/ (2 x (1 + DIVSEL)) 00000: 2 x (1 + DIVSEL) = 2 00001: 2 x (1 + DIVSEL) = 4 to 11111: 2 x (1 + DIVSEL) = 64 0 5 FREQSEL Select watchdog oscillator analog output frequency (Fclkana). 5 9 ENUM 0_6_MHZ 0.6 MHz 0x1 1_05_MHZ 1.05 MHz 0x2 1_4_MHZ 1.4 MHz 0x3 1_75_MHZ 1.75 MHz 0x4 2_1_MHZ 2.1 MHz 0x5 2_4_MHZ 2.4 MHz 0x6 2_7_MHZ 2.7 MHz 0x7 3_0_MHZ 3.0 MHz 0x8 3_25_MHZ 3.25 MHz 0x9 3_5_MHZ 3.5 MHz 0xA 3_75_MHZ 3.75 MHz 0xB 4_0_MHZ 4.0 MHz 0xC 4_2_MHZ 4.2 MHz 0xD 4_4_MHZ 4.4 MHz 0xE 4_6_MHZ 4.6 MHz 0xF RESERVED Reserved 9 32 USART USART USART 0x0 0x0 0xFFF registers n USART 21 ACR Auto-baud Control Register. Contains controls for the auto-baud feature. 0x20 read-write n 0x0 0x0 ABEOINTCLR End of auto-baud interrupt clear bit (write only accessible). 8 9 ENUM NO_IMPACT Writing a 0 has no impact. 0 CLEAR Writing a 1 will clear the corresponding interrupt in the IIR. 1 ABTOINTCLR Auto-baud time-out interrupt clear bit (write only accessible). 9 10 ENUM NO_IMPACT Writing a 0 has no impact. 0 CLEAR Writing a 1 will clear the corresponding interrupt in the IIR. 1 AUTORESTART Start mode 2 3 ENUM NO_RESTART No restart 0 RESTART_IN_CASE_OF_T Restart in case of time-out (counter restarts at next USART Rx falling edge) 1 MODE Auto-baud mode select bit. 1 2 ENUM MODE_0_ Mode 0. 0 MODE_1_ Mode 1. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 10 32 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 10 32 START This bit is automatically cleared after auto-baud completion. 0 1 ENUM AUTO_BAUD_STOP_AUTO Auto-baud stop (auto-baud is not running). 0 AUTO_BAUD_START_AUT Auto-baud start (auto-baud is running). Auto-baud run bit. This bit is automatically cleared after auto-baud completion. 1 DLL Divisor Latch LSB. Least significant byte of the baud rate divisor value. The full divisor is used to generate a baud rate from the fractional rate divider. (DLAB=1) RBR 0x0 read-write n 0x0 0x0 DLLSB The USART Divisor Latch LSB Register, along with the DLM register, determines the baud rate of the USART. 0 8 RESERVED Reserved 8 32 DLM Divisor Latch MSB. Most significant byte of the baud rate divisor value. The full divisor is used to generate a baud rate from the fractional rate divider. (DLAB=1) 0x4 read-write n 0x0 0x0 DLMSB The USART Divisor Latch MSB Register, along with the DLL register, determines the baud rate of the USART. 0 8 RESERVED Reserved 8 32 FCR FIFO Control Register. Controls USART FIFO usage and modes. 0x8 write-only n 0x0 0x0 FIFOEN FIFO enable 0 1 ENUM DISABLED USART FIFOs are disabled. Must not be used in the application. 0 ENABLED Active high enable for both USART Rx and TX FIFOs and FCR[7:1] access. This bit must be set for proper USART operation. Any transition on this bit will automatically clear the USART FIFOs. 1 RESERVED Reserved 8 32 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 4 6 RESERVED Reserved 8 32 RXFIFORES RX FIFO Reset 1 2 ENUM NO_IMPACT No impact on either of USART FIFOs. 0 CLEAR Writing a logic 1 to FCR[1] will clear all bytes in USART Rx FIFO, reset the pointer logic. This bit is self-clearing. 1 RXTL RX Trigger Level. These two bits determine how many receiver USART FIFO characters must be written before an interrupt is activated. 6 8 ENUM TRIGGER_LEVEL_0_1_C Trigger level 0 (1 character or 0x01). 0x0 TRIGGER_LEVEL_1_4_C Trigger level 1 (4 characters or 0x04). 0x1 TRIGGER_LEVEL_2_8_C Trigger level 2 (8 characters or 0x08). 0x2 TRIGGER_LEVEL_3_14_ Trigger level 3 (14 characters or 0x0E). 0x3 TXFIFORES TX FIFO Reset 2 3 ENUM NO_IMPACT No impact on either of USART FIFOs. 0 CLEAR Writing a logic 1 to FCR[2] will clear all bytes in USART TX FIFO, reset the pointer logic. This bit is self-clearing. 1 FDR Fractional Divider Register. Generates a clock input for the baud rate divider. 0x28 read-write n 0x0 0x0 DIVADDVAL Baud rate generation pre-scaler divisor value. If this field is 0, fractional baud rate generator will not impact the USART baud rate. 0 4 MULVAL Baud rate pre-scaler multiplier value. This field must be greater or equal 1 for USART to operate properly, regardless of whether the fractional baud rate generator is used or not. 4 8 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 8 32 HDEN Half duplex enable register. 0x40 read-write n 0x0 0x0 HDEN Half-duplex mode enable 0 1 ENUM DISABLE_HALF_DUPLEX_ Disable half-duplex mode. 0 ENABLE_HALF_DUPLEX_M Enable half-duplex mode. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 1 32 ICR IrDA Control Register. Enables and configures the IrDA (remote control) mode. 0x24 read-write n 0x0 0x0 FIXPULSEEN IrDA fixed pulse width mode. 2 3 ENUM DISABLED IrDA fixed pulse width mode disabled. 0 ENABLED IrDA fixed pulse width mode enabled. 1 IRDAEN IrDA mode enable 0 1 ENUM IRDA_MODE_IS_DISABLE IrDA mode is disabled, USARTn acts as a standard USART. 0 IRDA_MODE_IS_ENABLED IrDA mode is enabled. 1 IRDAINV Serial input inverter 1 2 ENUM INVERTED The serial input is not inverted. 0 NOT_INVERTED The serial input is inverted. This has no effect on the serial output. 1 PULSEDIV Configures the pulse width when FixPulseEn = 1. 3 6 ENUM 3_DIV_16_X_BAUD_RATE 3 / (16 x baud rate) 0x0 2_X_TPCLK 2 x TPCLK 0x1 4_X_TPCLK 4 x TPCLK 0x2 8_X_TPCLK 8 x TPCLK 0x3 16_X_TPCLK 16 x TPCLK 0x4 32_X_TPCLK 32 x TPCLK 0x5 64_X_TPCLK 64 x TPCLK 0x6 128_X_TPCLK 128 x TPCLK 0x7 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 6 32 IER Interrupt Enable Register. Contains individual interrupt enable bits for the 7 potential USART interrupts. (DLAB=0) DLM 0x4 read-write n 0x0 0x0 ABEOINTEN Enables the end of auto-baud interrupt. 8 9 ENUM DISABLE_END_OF_AUTO_ Disable end of auto-baud Interrupt. 0 ENABLE_END_OF_AUTO_B Enable end of auto-baud Interrupt. 1 ABTOINTEN Enables the auto-baud time-out interrupt. 9 10 ENUM DISABLE_AUTO_BAUD_TI Disable auto-baud time-out Interrupt. 0 ENABLE_AUTO_BAUD_TIM Enable auto-baud time-out Interrupt. 1 MSINTEN Enables the Modem Status interrupt. The components of this interrupt can be read from the MSR. 3 4 ENUM DISABLE_THE_MS_INTER Disable the MS interrupt. 0 ENABLE_THE_MS_INTERR Enable the MS interrupt. 1 RBRINTEN RBR Interrupt Enable. Enables the Receive Data Available interrupt. It also controls the Character Receive Time-out interrupt. 0 1 ENUM DISABLE_THE_RDA_INTE Disable the RDA interrupt. 0 ENABLE_THE_RDA_INTER Enable the RDA interrupt. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 10 32 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 10 32 RLSINTEN Enables the Receive Line Status interrupt. The status of this interrupt can be read from LSR[4:1]. 2 3 ENUM DISABLE_THE_RLS_INTE Disable the RLS interrupt. 0 ENABLE_THE_RLS_INTER Enable the RLS interrupt. 1 THREINTEN THRE Interrupt Enable. Enables the THRE interrupt. The status of this interrupt can be read from LSR[5]. 1 2 ENUM DISABLE_THE_THRE_INT Disable the THRE interrupt. 0 ENABLE_THE_THRE_INTE Enable the THRE interrupt. 1 IIR Interrupt ID Register. Identifies which interrupt(s) are pending. 0x8 read-only n 0x0 0x0 ABEOINT End of auto-baud interrupt. True if auto-baud has finished successfully and interrupt is enabled. 8 9 ABTOINT Auto-baud time-out interrupt. True if auto-baud has timed out and interrupt is enabled. 9 10 FIFOEN These bits are equivalent to FCR[0]. 6 8 INTID Interrupt identification. IER[3:1] identifies an interrupt corresponding to the USART Rx FIFO. All other values of IER[3:1] not listed below are reserved. 1 4 ENUM 4_MODEM_STATUS 4 - Modem status 0x0 3_THRE_INTERRUPT 3 - THRE Interrupt. 0x1 2A__RECEIVE_DATA_AV 2a - Receive Data Available (RDA). 0x2 1_RECEIVE_LINE_S 1 - Receive Line Status (RLS). 0x3 2B__CHARACTER_TIME_ 2b - Character Time-out Indicator (CTI). 0x6 INTSTATUS Interrupt status. Note that IIR[0] is active low. The pending interrupt can be determined by evaluating IIR[3:1]. 0 1 ENUM AT_LEAST_ONE_INTERRU At least one interrupt is pending. 0 NO_INTERRUPT_IS_PEND No interrupt is pending. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 10 32 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 10 32 LCR Line Control Register. Contains controls for frame formatting and break generation. 0xC read-write n 0x0 0x0 BC Break Control 6 7 ENUM DISABLE_BREAK_TRANSM Disable break transmission. 0 ENABLE_BREAK_TRANSMI Enable break transmission. Output pin USART TXD is forced to logic 0 when LCR[6] is active high. 1 DLAB Divisor Latch Access Bit 7 8 ENUM DISABLE_ACCESS_TO_DI Disable access to Divisor Latches. 0 ENABLE_ACCESS_TO_DIV Enable access to Divisor Latches. 1 PE Parity Enable 3 4 ENUM DISABLE_PARITY_GENER Disable parity generation and checking. 0 ENABLE_PARITY_GENERA Enable parity generation and checking. 1 PS Parity Select 4 6 ENUM ODD_PARITY_NUMBER_O Odd parity. Number of 1s in the transmitted character and the attached parity bit will be odd. 0x0 EVEN_PARITY_NUMBER_ Even Parity. Number of 1s in the transmitted character and the attached parity bit will be even. 0x1 FORCED_1_STICK_PARIT Forced 1 stick parity. 0x2 FORCED_0_STICK_PARIT Forced 0 stick parity. 0x3 RESERVED Reserved 8 32 SBS Stop Bit Select 2 3 ENUM 1_STOP_BIT_ 1 stop bit. 0 2_STOP_BITS_1_5_IF_ 2 stop bits (1.5 if LCR[1:0]=00). 1 WLS Word Length Select 0 2 ENUM 5_BIT_CHARACTER_LENG 5-bit character length. 0x0 6_BIT_CHARACTER_LENG 6-bit character length. 0x1 7_BIT_CHARACTER_LENG 7-bit character length. 0x2 8_BIT_CHARACTER_LENG 8-bit character length. 0x3 LSR Line Status Register. Contains flags for transmit and receive status, including line errors. 0x14 read-only n 0x0 0x0 modify BI Break Interrupt. When RXD1 is held in the spacing state (all zeros) for one full character transmission (start, data, parity, stop), a break interrupt occurs. Once the break condition has been detected, the receiver goes idle until RXD1 goes to marking state (all ones). A LSR read clears this status bit. The time of break detection is dependent on FCR[0]. Note: The break interrupt is associated with the character at the top of the USART RBR FIFO. 4 5 ENUM INACTIVE Break interrupt status is inactive. 0 ACTIVE Break interrupt status is active. 1 FE Framing Error. When the stop bit of a received character is a logic 0, a framing error occurs. A LSR read clears LSR[3]. The time of the framing error detection is dependent on FCR0. Upon detection of a framing error, the RX will attempt to re-synchronize to the data and assume that the bad stop bit is actually an early start bit. However, it cannot be assumed that the next received byte will be correct even if there is no Framing Error. Note: A framing error is associated with the character at the top of the USART RBR FIFO. 3 4 ENUM INACTIVE Framing error status is inactive. 0 ACTIVE Framing error status is active. 1 OE Overrun Error. The overrun error condition is set as soon as it occurs. A LSR read clears LSR[1]. LSR[1] is set when USART RSR has a new character assembled and the USART RBR FIFO is full. In this case, the USART RBR FIFO will not be overwritten and the character in the USART RSR will be lost. 1 2 ENUM INACTIVE Overrun error status is inactive. 0 ACTIVE Overrun error status is active. 1 PE Parity Error. When the parity bit of a received character is in the wrong state, a parity error occurs. A LSR read clears LSR[2]. Time of parity error detection is dependent on FCR[0]. Note: A parity error is associated with the character at the top of the USART RBR FIFO. 2 3 ENUM INACTIVE Parity error status is inactive. 0 ACTIVE Parity error status is active. 1 RDR Receiver Data Ready:LSR[0] is set when the RBR holds an unread character and is cleared when the USART RBR FIFO is empty. 0 1 ENUM RBR_IS_EMPTY_ RBR is empty. 0 RBR_CONTAINS_VALID_D RBR contains valid data. 1 RESERVED Reserved 9 32 RXFE Error in RX FIFO. LSR[7] is set when a character with a RX error such as framing error, parity error or break interrupt, is loaded into the RBR. This bit is cleared when the LSR register is read and there are no subsequent errors in the USART FIFO. 7 8 ENUM NO_ERROR RBR contains no USART RX errors or FCR[0]=0. 0 ERRO USART RBR contains at least one USART RX error. 1 TEMT Transmitter Empty. TEMT is set when both THR and TSR are empty TEMT is cleared when either the TSR or the THR contain valid data. 6 7 ENUM VALID_D THR and/or the TSR contains valid data. 0 EMPTY THR and the TSR are empty. 1 THRE Transmitter Holding Register Empty. THRE is set immediately upon detection of an empty USART THR and is cleared on a THR write. 5 6 ENUM THR_CONTAINS_VALID_D THR contains valid data. 0 THR_IS_EMPTY_ THR is empty. 1 TXERR Tx Error. In smart card T=0 operation, this bit is set when the smart card has NACKed a transmitted character, one more than the number of times indicated by the TXRETRY field. 8 9 MCR Modem Control Register. 0x10 read-write n 0x0 0x0 CTSEN CTS enable 7 8 ENUM DISABLE_AUTO_CTS_FLO Disable auto-cts flow control. 0 ENABLE_AUTO_CTS_FLOW Enable auto-cts flow control. 1 DTRCTRL Source for modem output pin DTR. This bit reads as 0 when modem loopback mode is active. 0 1 LMS Loopback Mode Select. The modem loopback mode provides a mechanism to perform diagnostic loopback testing. Serial data from the transmitter is connected internally to serial input of the receiver. Input pin, RXD, has no effect on loopback and output pin, TXD is held in marking state. The DSR, CTS, DCD, and RI pins are ignored. Externally, DTR and RTS are set inactive. Internally, the upper four bits of the MSR are driven by the lower four bits of the MCR. This permits modem status interrupts to be generated in loopback mode by writing the lower four bits of MCR. 4 5 ENUM DISABLE_MODEM_LOOPBA Disable modem loopback mode. 0 ENABLE_MODEM_LOOPBAC Enable modem loopback mode. 1 RESERVED Reserved 8 32 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 5 6 RESERVED Reserved 8 32 RTSCTRL Source for modem output pin RTS. This bit reads as 0 when modem loopback mode is active. 1 2 RTSEN RTS enable 6 7 ENUM DISABLE_AUTO_RTS_FLO Disable auto-rts flow control. 0 ENABLE_AUTO_RTS_FLOW Enable auto-rts flow control. 1 MSR Modem Status Register. 0x18 read-only n 0x0 0x0 modify CTS Clear To Send State. Complement of input signal CTS. This bit is connected to MCR[1] in modem loopback mode. 4 5 DCD Data Carrier Detect State. Complement of input DCD. This bit is connected to MCR[3] in modem loopback mode. 7 8 DCTS Delta CTS. Set upon state change of input CTS. Cleared on an MSR read. 0 1 ENUM NO_CHANGE_DETECTED_O No change detected on modem input, CTS. 0 STATE_CHANGE_DETECTE State change detected on modem input, CTS. 1 DDCD Delta DCD. Set upon state change of input DCD. Cleared on an MSR read. 3 4 ENUM NO_CHANGE_DETECTED_O No change detected on modem input, DCD. 0 STATE_CHANGE_DETECTE State change detected on modem input, DCD. 1 DDSR Delta DSR. Set upon state change of input DSR. Cleared on an MSR read. 1 2 ENUM NO_CHANGE_DETECTED_O No change detected on modem input, DSR. 0 STATE_CHANGE_DETECTE State change detected on modem input, DSR. 1 DSR Data Set Ready State. Complement of input signal DSR. This bit is connected to MCR[0] in modem loopback mode. 5 6 RESERVED Reserved, the value read from a reserved bit is not defined. 8 32 RI Ring Indicator State. Complement of input RI. This bit is connected to MCR[2] in modem loopback mode. 6 7 TERI Trailing Edge RI. Set upon low to high transition of input RI. Cleared on an MSR read. 2 3 ENUM NO_CHANGE_DETECTED_O No change detected on modem input, RI. 0 LOW_TO_HIGH_TRANSITI Low-to-high transition detected on RI. 1 OSR Oversampling Register. Controls the degree of oversampling during each bit time. 0x2C read-write n 0x0 0x0 FDINT In Smart Card mode, these bits act as a more-significant extension of the OSint field, allowing an oversampling ratio up to 2048 as required by ISO7816-3. In Smart Card mode, bits 14:4 should initially be set to 371, yielding an oversampling ratio of 372. 8 15 OSFRAC Fractional part of the oversampling ratio, in units of 1/8th of an input clock period. (001 = 0.125, ..., 111 = 0.875) 1 4 OSINT Integer part of the oversampling ratio, minus 1. The reset values equate to the normal operating mode of 16 input clocks per bit time. 4 8 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 15 32 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 15 32 RBR Receiver Buffer Register. Contains the next received character to be read. (DLAB=0) 0x0 read-only n 0x0 0x0 modify RBR The USART Receiver Buffer Register contains the oldest received byte in the USART RX FIFO. 0 8 RESERVED Reserved 8 32 RS485ADRMATCH RS-485/EIA-485 address match. Contains the address match value for RS-485/EIA-485 mode. 0x50 read-write n 0x0 0x0 ADRMATCH Contains the address match value. 0 8 RESERVED Reserved 8 32 RS485CTRL RS-485/EIA-485 Control. Contains controls to configure various aspects of RS-485/EIA-485 modes. 0x4C read-write n 0x0 0x0 AADEN AAD enable. 2 3 ENUM AUTO_ADDRESS_DETECT_ Auto Address Detect (AAD) is enabled. 1 AUTO_ADDRESS_DETECT_ Auto Address Detect (AAD) is enabled. 1 DCTRL Auto direction control enable. 4 5 ENUM DISABLE_AUTO_DIRECTI Disable Auto Direction Control. 0 ENABLE_AUTO_DIRECTIO Enable Auto Direction Control. 1 NMMEN NMM enable. 0 1 ENUM RS_485_EIA_485_NORMA RS-485/EIA-485 Normal Multidrop Mode (NMM) is enabled. In this mode, an address is detected when a received byte causes the USART to set the parity error and generate an interrupt. 1 RS_485_EIA_485_NORMA RS-485/EIA-485 Normal Multidrop Mode (NMM) is enabled. In this mode, an address is detected when a received byte causes the USART to set the parity error and generate an interrupt. 1 OINV Polarity control. This bit reverses the polarity of the direction control signal on the RTS (or DTR) pin. 5 6 ENUM LOW The direction control pin will be driven to logic 0 when the transmitter has data to be sent. It will be driven to logic 1 after the last bit of data has been transmitted. 0 HIGH The direction control pin will be driven to logic 1 when the transmitter has data to be sent. It will be driven to logic 0 after the last bit of data has been transmitted. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 6 32 RXDIS Receiver enable. 1 2 ENUM THE_RECEIVER_IS_ENAB The receiver is enabled. 0 THE_RECEIVER_IS_DISA The receiver is disabled. 1 SEL Select direction control pin 3 4 ENUM RTS If direction control is enabled (bit DCTRL = 1), pin RTS is used for direction control. 0 DTR If direction control is enabled (bit DCTRL = 1), pin DTR is used for direction control. 1 RS485DLY RS-485/EIA-485 direction control delay. 0x54 read-write n 0x0 0x0 DLY Contains the direction control (RTS or DTR) delay value. This register works in conjunction with an 8-bit counter. 0 8 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 8 32 SCICTRL Smart Card Interface Control register. Enables and configures the Smart Card Interface feature. 0x48 read-write n 0x0 0x0 NACKDIS NACK response disable. Only applicable in T=0. 1 2 ENUM ENABLED A NACK response is enabled. 0 DISABLED A NACK response is inhibited. 1 PROTSEL Protocol selection as defined in the ISO7816-3 standard. 2 3 ENUM T_EQ_0 T = 0 0 T_EQ_1 T = 1 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 16 32 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 16 32 SCIEN Smart Card Interface Enable. 0 1 ENUM SMART_CARD_INTERFACE Smart card interface disabled. 0 ASYNCHRONOUS_HALF_DU Asynchronous half duplex smart card interface is enabled. 1 TXRETRY When the protocol selection T bit (above) is 0, the field controls the maximum number of retransmissions that the USART will attempt if the remote device signals NACK. When NACK has occurred this number of times plus one, the Tx Error bit in the LSR is set, an interrupt is requested if enabled, and the USART is locked until the FIFO is cleared. 5 8 XTRAGUARD When the protocol selection T bit (above) is 0, this field indicates the number of bit times (ETUs) by which the guard time after a character transmitted by the USART should exceed the nominal 2 bit times. 0xFF in this field may indicate that there is just a single bit after a character and 11 bit times/character 8 16 SCR Scratch Pad Register. Eight-bit temporary storage for software. 0x1C read-write n 0x0 0x0 PAD A readable, writable byte. 0 8 RESERVED Reserved 8 32 SYNCCTRL Synchronous mode control register. 0x58 read-write n 0x0 0x0 CCCLR Continuous clock clear 6 7 ENUM CSCEN_IS_UNDER_SOFTW CSCEN is under software control. 0 HARDWARE_CLEARS_CSCE Hardware clears CSCEN after each character is received. 1 CSCEN Continuous master clock enable (used only when CSRC is 1) 4 5 ENUM SCLK_CYCLES_ONLY_WHE SCLK cycles only when characters are being sent on TxD 0 SCLK_RUNS_CONTINUOUS SCLK runs continuously (characters can be received on RxD independently from transmission on TxD) 1 CSRC Clock source select. 1 2 ENUM SYNCHRONOUS_SLAVE_MO Synchronous slave mode (SCLK in) 0 SYNCHRONOUS_MASTER_M Synchronous master mode (SCLK out) 1 FES Falling edge sampling. 2 3 ENUM RISING RxD is sampled on the rising edge of SCLK 0 FALLING RxD is sampled on the falling edge of SCLK 1 RESERVED Reserved. The value read from a reserved bit is not defined. 7 32 SSDIS Start/stop bits 5 6 ENUM SEND_START_STOP Send start and stop bits as in other modes. 0 NOT_SEND_START_STOP Do not send start/stop bits. 1 SYNC Enables synchronous mode. 0 1 ENUM DISABLED Disabled 0 ENABLED Enabled 1 TSBYPASS Transmit synchronization bypass in synchronous slave mode. 3 4 ENUM SYNC The input clock is synchronized prior to being used in clock edge detection logic 0 NOSYNC The input clock is not synchronized prior to being used in clock edge detection logic. This allows for a high er input clock rate at the expense of potential metastability. 1 TER Transmit Enable Register. Turns off USART transmitter for use with software flow control. 0x30 read-write n 0x0 0x0 RESERVED Reserved 8 32 RESERVED Reserved 8 32 TXEN When this bit is 1, as it is after a Reset, data written to the THR is output on the TXD pin as soon as any preceding data has been sent. If this bit cleared to 0 while a character is being sent, the transmission of that character is completed, but no further characters are sent until this bit is set again. In other words, a 0 in this bit blocks the transfer of characters from the THR or TX FIFO into the transmit shift register. Software can clear this bit when it detects that the a hardware-handshaking TX-permit signal (CTS) has gone false, or with software handshaking, when it receives an XOFF character (DC3). Software can set this bit again when it detects that the TX-permit signal has gone true, or when it receives an XON (DC1) character. 7 8 THR Transmit Holding Register. The next character to be transmitted is written here. (DLAB=0) RBR 0x0 write-only n 0x0 0x0 modify RESERVED Reserved 8 32 THR Writing to the USART Transmit Holding Register causes the data to be stored in the USART transmit FIFO. The byte will be sent when it is the oldest byte in the FIFO and the transmitter is available. 0 8 USB USB2.0 device controller USB 0x0 0x0 0xFFF registers n USB_IRQ 22 USB_FIQ 23 USBWAKEUP 30 DATABUFSTART USB Data buffer start address 0xC read-write n 0x0 0x0 DA_BUF Start address of the buffer pointer page where all endpoint data buffers are located. 22 32 RESERVED Reserved 0 22 DEVCMDSTAT USB Device Command/Status register 0x0 read-write n 0x0 0x0 DCON Device status - connect. The connect bit must be set by SW to indicate that the device must signal a connect. The pull-up resistor on USB_DP will be enabled when this bit is set and the VbusDebounced bit is one. 16 17 DCON_C Device status - connect change. The Connect Change bit is set when the device's pull-up resistor is disconnected because VBus disappeared. The bit is reset by writing a one to it. 24 25 DEV_ADDR USB device address. After bus reset, the address is reset to 0x00. If the enable bit is set, the device will respond on packets for function address DEV_ADDR. When receiving a SetAddress Control Request from the USB host, software must program the new address before completing the status phase of the SetAddress Control Request. 0 7 DEV_EN USB device enable. If this bit is set, the HW will start responding on packets for function address DEV_ADDR. 7 8 DRES_C Device status - reset change. This bit is set when the device received a bus reset. On a bus reset the device will automatically go to the default state (unconfigured and responding to address 0). The bit is reset by writing a one to it. 26 27 DSUS Device status - suspend. The suspend bit indicates the current suspend state. It is set to 1 when the device hasn't seen any activity on its upstream port for more than 3 milliseconds. It is reset to 0 on any activity. When the device is suspended (Suspend bit DSUS = 1) and the software writes a 0 to it, the device will generate a remote wake-up. This will only happen when the device is connected (Connect bit = 1). When the device is not connected or not suspended, a writing a 0 has no effect. Writing a 1 never has an effect. 17 18 DSUS_C Device status - suspend change. The suspend change bit is set to 1 when the suspend bit toggles. The suspend bit can toggle because: - The device goes in the suspended state - The device is disconnected - The device receives resume signaling on its upstream port. The bit is reset by writing a one to it. 25 26 INTONNAK_AI Interrupt on NAK for interrupt and bulk IN EP 13 14 ENUM ACKNOW Only acknowledged packets generate an interrupt 0 ACKNOW_NAK Both acknowledged and NAKed packets generate interrupts. 1 INTONNAK_AO Interrupt on NAK for interrupt and bulk OUT EP 12 13 ENUM ACKNOW Only acknowledged packets generate an interrupt 0 ACKNOW_NAK Both acknowledged and NAKed packets generate interrupts. 1 INTONNAK_CI Interrupt on NAK for control IN EP 15 16 ENUM ACKNOW Only acknowledged packets generate an interrupt 0 ACKNOW_NAK Both acknowledged and NAKed packets generate interrupts. 1 INTONNAK_CO Interrupt on NAK for control OUT EP 14 15 ENUM ACKNOW Only acknowledged packets generate an interrupt 0 ACKNOW_NAK Both acknowledged and NAKed packets generate interrupts. 1 LPM_REWP LPM Remote Wake-up Enabled by USB host. HW sets this bit to one when the bRemoteWake bit in the LPM extended token is set to 1. HW will reset this bit to 0 when it receives the host initiated LPM resume, when a remote wake-up is sent by the device or when a USB bus reset is received. Software can use this bit to check if the remote wake-up feature is enabled by the host for the LPM transaction. 20 21 LPM_SUP LPM Supported: 11 12 ENUM LPM_NOT_SUPPORTED_ LPM not supported. 0 LPM_SUPPORTED_ LPM supported. 1 LPM_SUS Device status - LPM Suspend. This bit represents the current LPM suspend state. It is set to 1 by HW when the device has acknowledged the LPM request from the USB host and the Token Retry Time of 10us has elapsed. When the device is in the LPM suspended state (LPM suspend bit = 1) and the software writes a zero to this bit, the device will generate a remote walk-up. Software can only write a zero to this bit when the LPM_REWP bit is set to 1. HW resets this bit when it receives a host initiated resume. HW only updates the LPM_SUS bit when the LPM_SUPP bit is equal to one. 19 20 PLL_ON Always PLL Clock on: 9 10 ENUM USB_NEEDCLK_FUNCTION USB_NeedClk functional 0 USB_NEEDCLK_ALWAYS_1 USB_NeedClk always 1. Clock will not be stopped in case of suspend. 1 RESERVED Reserved. 29 32 RESERVED Reserved. 18 19 RESERVED Reserved. 21 24 RESERVED Reserved. 27 28 RESERVED Reserved. 29 32 SETUP SETUP token received. If a SETUP token is received and acknowledged by the device, this bit is set. As long as this bit is set all received IN and OUT tokens will be NAKed by HW. SW must clear this bit by writing a one. If this bit is zero, HW will handle the tokens to the CTRL EP0 as indicated by the CTRL EP0 IN and OUT data information programmed by SW. 8 9 VBUSDEBOUNCED This bit indicates if Vbus is detected or not. The bit raises immediately when Vbus becomes high. It drops to zero if Vbus is low for at least 3 ms. If this bit is high and the DCon bit is set, the HW will enable the pull-up resistor to signal a connect. 28 29 EPBUFCFG USB Endpoint Buffer Configuration register 0x1C read-write n 0x0 0x0 BUF_SB Buffer usage: This register has one bit per physical endpoint. 0: Single-buffer. 1: Double-buffer. If the bit is set to single-buffer (0), it will not toggle the corresponding EPINUSE bit when it clears the active bit. If the bit is set to double-buffer (1), HW will toggle the EPINUSE bit when it clears the Active bit for the buffer. 2 10 RESERVED Reserved 10 32 RESERVED Reserved 10 32 EPINUSE USB Endpoint Buffer in use 0x18 read-write n 0x0 0x0 BUF Buffer in use: This register has one bit per physical endpoint. 0: HW is accessing buffer 0. 1: HW is accessing buffer 1. 2 10 RESERVED Reserved 10 32 RESERVED Reserved 10 32 EPLISTSTART USB EP Command/Status List start address 0x8 read-write n 0x0 0x0 EP_LIST Start address of the USB EP Command/Status List. 8 32 RESERVED Reserved 0 8 EPSKIP USB Endpoint skip 0x14 read-write n 0x0 0x0 RESERVED Reserved 30 32 SKIP Endpoint skip: Writing 1 to one of these bits, will indicate to HW that it must deactivate the buffer assigned to this endpoint and return control back to software. When HW has deactivated the endpoint, it will clear this bit, but it will not modify the EPINUSE bit. An interrupt will be generated when the Active bit goes from 1 to 0. Note: In case of double-buffering, HW will only clear the Active bit of the buffer indicated by the EPINUSE bit. 0 30 EPTOGGLE USB Endpoint toggle register 0x34 read-only n 0x0 0x0 RESERVED Reserved 10 32 TOGGLE Endpoint data toggle: This field indicates the current value of the data toggle for the corresponding endpoint. 0 10 INFO USB Info register 0x4 read-write n 0x0 0x0 ERR_CODE The error code which last occurred: 11 15 ENUM NO_ERROR No error 0x0 PID_ENCODING_ERROR PID encoding error 0x1 PID_UNKNOWN PID unknown 0x2 PACKET_UNEXPECTED Packet unexpected 0x3 TOKEN_CRC_ERROR Token CRC error 0x4 DATA_CRC_ERROR Data CRC error 0x5 TIME_OUT Time out 0x6 BABBLE Babble 0x7 TRUNCATED_EOP Truncated EOP 0x8 SENT_RECEIVED_NAK Sent/Received NAK 0x9 SENT_STALL Sent Stall 0xA OVERRUN Overrun 0xB SENT_EMPTY_PACKET Sent empty packet 0xC BITSTUFF_ERROR Bitstuff error 0xD SYNC_ERROR Sync error 0xE WRONG_DATA_TOGGLE Wrong data toggle 0xF FRAME_NR Frame number. This contains the frame number of the last successfully received SOF. In case no SOF was received by the device at the beginning of a frame, the frame number returned is that of the last successfully received SOF. In case the SOF frame number contained a CRC error, the frame number returned will be the corrupted frame number as received by the device. 0 11 RESERVED Reserved 16 32 RESERVED Reserved 16 32 INTEN USB interrupt enable register 0x24 read-write n 0x0 0x0 DEV_INT_EN If this bit is set and the corresponding USB interrupt status bit is set, a HW interrupt is generated on the interrupt line indicated by the corresponding USB interrupt routing bit. 31 32 EP_INT_EN If this bit is set and the corresponding USB interrupt status bit is set, a HW interrupt is generated on the interrupt line indicated by the corresponding USB interrupt routing bit. 0 10 FRAME_INT_EN If this bit is set and the corresponding USB interrupt status bit is set, a HW interrupt is generated on the interrupt line indicated by the corresponding USB interrupt routing bit. 30 31 RESERVED Reserved 10 30 INTROUTING USB interrupt routing register 0x2C read-write n 0x0 0x0 RESERVED Reserved 10 30 ROUTE_INT30 This bit can control on which hardware interrupt line the interrupt will be generated: 0: IRQ interrupt line is selected for this interrupt bit 1: FIQ interrupt line is selected for this interrupt bit 30 31 ROUTE_INT31 This bit can control on which hardware interrupt line the interrupt will be generated: 0: IRQ interrupt line is selected for this interrupt bit 1: FIQ interrupt line is selected for this interrupt bit 31 32 ROUTE_INT9_0 This bit can control on which hardware interrupt line the interrupt will be generated: 0: IRQ interrupt line is selected for this interrupt bit 1: FIQ interrupt line is selected for this interrupt bit 0 10 INTSETSTAT USB set interrupt status register 0x28 read-write n 0x0 0x0 DEV_SET_INT If software writes a one to one of these bits, the corresponding USB interrupt status bit is set. When this register is read, the same value as the USB interrupt status register is returned. 31 32 EP_SET_INT If software writes a one to one of these bits, the corresponding USB interrupt status bit is set. When this register is read, the same value as the USB interrupt status register is returned. 0 10 FRAME_SET_INT If software writes a one to one of these bits, the corresponding USB interrupt status bit is set. When this register is read, the same value as the USB interrupt status register is returned. 30 31 RESERVED Reserved 10 30 INTSTAT USB interrupt status register 0x20 read-write n 0x0 0x0 DEV_INT Device status interrupt. This bit is set by HW when one of the bits in the Device Status Change register are set. Software can clear this bit by writing a one to it. 31 32 EP0IN Interrupt status register bit for the Control EP0 IN direction. This bit will be set if NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_CI is set, this bit will also be set when a NAK is transmitted for the Control EP0 IN direction. Software can clear this bit by writing a one to it. 1 2 EP0OUT Interrupt status register bit for the Control EP0 OUT direction. This bit will be set if NBytes transitions to zero or the skip bit is set by software or a SETUP packet is successfully received for the control EP0. If the IntOnNAK_CO is set, this bit will also be set when a NAK is transmitted for the Control EP0 OUT direction. Software can clear this bit by writing a one to it. 0 1 EP1IN Interrupt status register bit for the EP1 IN direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AI is set, this bit will also be set when a NAK is transmitted for the EP1 IN direction. Software can clear this bit by writing a one to it. 3 4 EP1OUT Interrupt status register bit for the EP1 OUT direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AO is set, this bit will also be set when a NAK is transmitted for the EP1 OUT direction. Software can clear this bit by writing a one to it. 2 3 EP2IN Interrupt status register bit for the EP2 IN direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AI is set, this bit will also be set when a NAK is transmitted for the EP2 IN direction. Software can clear this bit by writing a one to it. 5 6 EP2OUT Interrupt status register bit for the EP2 OUT direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AO is set, this bit will also be set when a NAK is transmitted for the EP2 OUT direction. Software can clear this bit by writing a one to it. 4 5 EP3IN Interrupt status register bit for the EP3 IN direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AI is set, this bit will also be set when a NAK is transmitted for the EP3 IN direction. Software can clear this bit by writing a one to it. 7 8 EP3OUT Interrupt status register bit for the EP3 OUT direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AO is set, this bit will also be set when a NAK is transmitted for the EP3 OUT direction. Software can clear this bit by writing a one to it. 6 7 EP4IN Interrupt status register bit for the EP4 IN direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AI is set, this bit will also be set when a NAK is transmitted for the EP4 IN direction. Software can clear this bit by writing a one to it. 9 10 EP4OUT Interrupt status register bit for the EP4 OUT direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AO is set, this bit will also be set when a NAK is transmitted for the EP4 OUT direction. Software can clear this bit by writing a one to it. 8 9 FRAME_INT Frame interrupt. This bit is set to one every millisecond when the VbusDebounced bit and the DCON bit are set. This bit can be used by software when handling isochronous endpoints. Software can clear this bit by writing a one to it. 30 31 RESERVED Reserved 10 30 LPM Link Power Management register 0x10 read-write n 0x0 0x0 DATA_PENDING As long as this bit is set to one and LPM supported bit is set to one, HW will return a NYET handshake on every LPM token it receives. If LPM supported bit is set to one and this bit is zero, HW will return an ACK handshake on every LPM token it receives. If SW has still data pending and LPM is supported, it must set this bit to 1. 8 9 HIRD_HW Host Initiated Resume Duration - HW. This is the HIRD value from the last received LPM token 0 4 HIRD_SW Host Initiated Resume Duration - SW. This is the time duration required by the USB device system to come out of LPM initiated suspend after receiving the host initiated LPM resume. 4 8 RESERVED Reserved 9 32 WWDT Windowed Watchdog Timer (WWDT) WWDT 0x0 0x0 0xFFF registers n WWDT 25 CLKSEL Watchdog clock select register. 0x10 read-write n 0x0 0x0 CLKSEL Selects source of WDT clock 0 1 ENUM IRC IRC 0 WATCHDOG_OSCILLATOR_ Watchdog oscillator (WDOSC) 1 LOCK If this bit is set to one writing to this register does not affect bit 0. The clock source can only be changed by first clearing this bit, then writing the new value of bit 0. 31 32 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 1 31 FEED Watchdog feed sequence register. Writing 0xAA followed by 0x55 to this register reloads the Watchdog timer with the value contained in WDTC. 0x8 write-only n 0x0 0x0 FEED Feed value should be 0xAA followed by 0x55. 0 8 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 8 32 MOD Watchdog mode register. This register contains the basic mode and status of the Watchdog Timer. 0x0 read-write n 0x0 0x0 LOCK A 1 in this bit prevents disabling or powering down the clock source selected by bit 0 of the WDCLKSRC register and also prevents switching to a clock source that is disabled or powered down. This bit can be set once by software and is only cleared by any reset. If this bit is one and the WWDT clock source is the IRC when Deep-sleep or Power-down modes are entered, the IRC remains running thereby increasing power consumption in Deep-sleep mode and potentially preventing the part of entering Power-down mode correctly (see Section 15.7). 5 6 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 6 32 WDEN Watchdog enable bit. Once this bit has been written with a 1 it cannot be rewritten with a 0. 0 1 ENUM STOPPED The watchdog timer is stopped. 0 RUNNING The watchdog timer is running. 1 WDINT Warning interrupt flag. Set when the timer reaches the value in WDWARNINT. Cleared by software. 3 4 WDPROTECT Watchdog update mode. This bit can be set once by software and is only cleared by a reset. 4 5 ENUM NOT_LOCKED The watchdog time-out value (TC) can be changed at any time. 0 LOCKED The watchdog time-out value (TC) can be changed only after the counter is below the value of WDWARNINT and WDWINDOW. 1 WDRESET Watchdog reset enable bit. Once this bit has been written with a 1 it cannot be rewritten with a 0. 1 2 ENUM INTERRUPT A watchdog timeout will not cause a chip reset. 0 RESET A watchdog timeout will cause a chip reset. 1 WDTOF Watchdog time-out flag. Set when the watchdog timer times out, by a feed error, or by events associated with WDPROTECT. Cleared by software. Causes a chip reset if WDRESET = 1. 2 3 TC Watchdog timer constant register. This 24-bit register determines the time-out value. 0x4 read-write n 0x0 0x0 COUNT Watchdog time-out value. 0 24 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 24 32 TV Watchdog timer value register. This 24-bit register reads out the current value of the Watchdog timer. 0xC read-only n 0x0 0x0 COUNT Counter timer value. 0 24 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 24 32 WARNINT Watchdog Warning Interrupt compare value. 0x14 read-write n 0x0 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 10 32 WARNINT Watchdog warning interrupt compare value. 0 10 WINDOW Watchdog Window compare value. 0x18 read-write n 0x0 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. 24 32 WINDOW Watchdog window value. 0 24